NetBSD Problem Report #34569

From dauphin@enst.fr  Wed Sep 20 15:49:45 2006
Return-Path: <dauphin@enst.fr>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 6E07B63BA5D
	for <gnats-bugs@gnats.netbsd.org>; Wed, 20 Sep 2006 15:49:45 +0000 (UTC)
Message-Id: <1158760747.7911@bi.enst.fr>
Date: Wed, 20 Sep 2006 15:59:07 +0200
From: "Gilles Dauphin" <dauphin@enst.fr>
To: "gnats bugs" <gnats-bugs@NetBSD.org>
Subject: fonts/fontconfig Solaris10 gcc -m64
X-Send-Pr-Version: gtk-send-pr 0.4.5 
X-GNATS-Notify:

>Number:         34569
>Category:       pkg
>Synopsis:       fonts/fontconfig Solaris10 gcc -m64
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 20 15:50:00 +0000 2006
>Closed-Date:    Thu Feb 07 14:43:55 +0000 2013
>Last-Modified:  Thu Feb 07 14:43:55 +0000 2013
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc


>Description:


gmake[3]: Entering directory `/pkg/obj/fonts/fontconfig/work/fontconfig-2.4.0/src'
/bin/bash ../libtool --tag=CC --mode=link gcc  -O -I/usr/include -I/usr/pkg/includ
e -I/usr/pkg/include/freetype2  -R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -
o libfontconfig.la -rpath /usr/pkg/lib -version-info 2:0:1 -no-undefined  fcatomic
.lo fcblanks.lo fccache.lo fccfg.lo fccharset.lo fcdbg.lo fcdefault.lo fcdir.lo fc
freetype.lo fcfs.lo fcinit.lo fclang.lo fclist.lo fcmatch.lo fcmatrix.lo fcname.lo
 fcpat.lo fcserialize.lo fcstr.lo fcxml.lo ftglue.lo  -L/usr/pkg/lib -R/usr/pkg/li
b -lfreetype -lz  -L/usr/pkg/lib -lexpat 
gcc -shared -Wl,-h -Wl,libfontconfig.so.1 -o .libs/libfontconfig.so.1.1.0  .libs/f
catomic.o .libs/fcblanks.o .libs/fccache.o .libs/fccfg.o .libs/fccharset.o .libs/f
cdbg.o .libs/fcdefault.o .libs/fcdir.o .libs/fcfreetype.o .libs/fcfs.o .libs/fcini
t.o .libs/fclang.o .libs/fclist.o .libs/fcmatch.o .libs/fcmatrix.o .libs/fcname.o 
.libs/fcpat.o .libs/fcserialize.o .libs/fcstr.o .libs/fcxml.o .libs/ftglue.o  -R/p
kg/obj/fonts/fontconfig/work/.buildlink/lib -R/pkg/obj/fonts/fontconfig/work/.buil
dlink/lib -R/usr/pkg/lib -L/pkg/obj/fonts/fontconfig/work/.buildlink/lib /pkg/obj/
fonts/fontconfig/work/.buildlink/lib/libfreetype.so /pkg/obj/fonts/fontconfig/work
/.buildlink/lib/libz.so /pkg/obj/fonts/fontconfig/work/.buildlink/lib/libexpat.so 
-lc  -Wl,-R/usr/pkg/lib
Text relocation remains                         referenced
    against symbol                  offset      in file
IA__FcAtomicCreate                  0xd09       .libs/fccache.o
FcMemAlloc                          0x68        .libs/fcatomic.o
FcMemAlloc                          0x2b        .libs/fcblanks.o
FcMemAlloc                          0x147       .libs/fcblanks.o
FcMemAlloc                          0x2a        .libs/fccfg.o
FcMemAlloc                          0x9d2       .libs/fccfg.o
...
FcExprCreateInteger                 0x1da5      .libs/fcxml.o
FcExprCreateDouble                  0x1db4      .libs/fcxml.o
FcExprCreateString                  0x1a1b      .libs/fcxml.o
FcExprCreateString                  0x1d6f      .libs/fcxml.o
FcExprCreateMatrix                  0x1dc2      .libs/fcxml.o
FcExprCreateBool                    0x1dcf      .libs/fcxml.o
FcExprCreateField                   0x1d7d      .libs/fcxml.o
FcExprCreateConst                   0x1d8b      .libs/fcxml.o
FcExprCreateOp                      0x193d      .libs/fcxml.o
FcExprCreateOp                      0x1ae0      .libs/fcxml.o
FcExprCreateOp                      0x1e1b      .libs/fcxml.o
FcExprCreateOp                      0x1edd      .libs/fcxml.o
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
gmake[3]: *** [libfontconfig.la] Error 1
gmake[3]: Leaving directory `/pkg/obj/fonts/fontconfig/work/fontconfig-2.4.0/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/pkg/obj/fonts/fontconfig/work/fontconfig-2.4.0/src'
gmake[1]: *** [all-recursive] Error 1



>How-To-Repeat:


bmake


>Fix:


Please wait ;)


>Release-Note:

>Audit-Trail:
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
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?

 Joerg

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: snj@netbsd.org
Responsible-Changed-When: Wed, 20 Sep 2006 22:32:58 +0000
Responsible-Changed-Why:
Solaris-specific problem.


From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
To: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org,
	gnats-bugs@NetBSD.org
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>
 > To: gnats-bugs@NetBSD.org
 > 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
 >  

State-Changed-From-To: open->closed
State-Changed-By: jperkin@NetBSD.org
State-Changed-When: Thu, 07 Feb 2013 14:43:55 +0000
State-Changed-Why:
This does not appear to still be an issue.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.