pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/34569: fonts/fontconfig Solaris10 gcc -m64



The following reply was made to PR pkg/34569; it has been noted by GNATS.

From: Gilles Dauphin <Gilles.Dauphin%enst.fr@localhost>
To: pkg-manager%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
        gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/34569: fonts/fontconfig Solaris10 gcc -m64
Date: Thu, 21 Sep 2006 09:36:06 +0200 (CEST)

 > From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc: 
 > Subject: Re: pkg/34569: fonts/fontconfig Solaris10 gcc -m64
 > Date: Wed, 20 Sep 2006 18:00:26 +0200
 > 
 >  On Wed, Sep 20, 2006 at 03:50:00PM +0000, Gilles Dauphin wrote:
 >  > Text relocation remains                         referenced
 >  >     against symbol                  offset      in file
 >  
 >  Linkage of non-PIC objects as shared library?
 
 Yes it is.
 That's because of visibility's attribute. problem is specific to 
 gcc -m64 on amd64 (I saw it on gcc mailing list).
 Here is a wished patch.
 There is an other problem with fc-cache in the install phase: it got all
 ressources of my computer , memory and process. Don't know why.
 
 --- src/fcint.h.orig    Fri Sep  8 00:14:34 2006
 +++ src/fcint.h Wed Sep 20 16:53:03 2006
 @@ -111,7 +111,7 @@
  #define FC_BANK_LANGS      0xfcfcfcfc
  
  /* slim_internal.h */
 -#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && 
defined(__ELF__)
 +#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && 
defined(__ELF__) 
 && !( defined(__x86_64) && defined(__sun))
  #define FcPrivate              __attribute__((__visibility__("hidden")))
  #define HAVE_GNUC_ATTRIBUTE 1
  #include "fcalias.h"
 
 
 >  
 >  Joerg
 >  
 



Home | Main Index | Thread Index | Old Index