NetBSD-Bugs archive

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

toolchain/45253: amd64 libgcc_eh.a broken



>Number:         45253
>Category:       toolchain
>Synopsis:       amd64 libgcc_eh.a broken
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 14 20:15:00 +0000 2011
>Originator:     Martin Husemann
>Release:        NetBSD 5.99.55
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 5.99.55 NetBSD 5.99.55 (NIGHT-OWL) #41: 
Sun Aug 14 12:38:13 CEST 2011 
martin%night-owl.duskware.de@localhost:/usr/src/sys/arch/amd64/compile/NIGHT-OWL
 amd64
Architecture: x86_64
Machine: amd64
>Description:

After gcc 4.5 update, I started rebuilding lots of packages. One of the
failures is print/cups:

libtool: link: c++ -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R7/lib -pie -fPIE -Wall 
-Wno-format-y2k -fPIC -Os -g -o .libs/ppdc ppdc.o  
-L/usr/pkgobj/print/cups/work/cups-1.4.6/cups/.libs 
-L/usr/pkgobj/print/cups/work/cups-1.4.6/cgi-bin 
-L/usr/pkgobj/print/cups/work/cups-1.4.6/cups 
-L/usr/pkgobj/print/cups/work/cups-1.4.6/filter 
-L/usr/pkgobj/print/cups/work/cups-1.4.6/ppdc 
-L/usr/pkgobj/print/cups/work/cups-1.4.6/scheduler 
-L/usr/pkgobj/print/cups/work/.buildlink/lib 
-L/usr/pkgobj/print/cups/work/.x11-buildlink/lib ../ppdc/.libs/libcupsppdc.so 
/usr/pkgobj/print/cups/work/cups-1.4.6/cups/.libs/libcups.so 
../cups/.libs/libcups.so -lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err -lasn1 
-lwind -lroken -lpthread -lz -lssl -lcrypto -ldns_sd -lm -lcrypt -Wl,-rpath 
-Wl,/usr/pkg/lib
ld: /usr/lib/libgcc_eh.a(unwind-dw2.o): relocation R_X86_64_32S against `a 
local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/libgcc_eh.a: could not read symbols: Bad value

The R_X86_64_32S relocations in that library are:

00000000002a  00060000000b R_X86_64_32S      0000000000000000 .rodata + 0
000000000079  00070000000b R_X86_64_32S      0000000000000000 .rodata + 0
0000000002c0  00070000000b R_X86_64_32S      0000000000000000 .rodata + 68
0000000009b0  00070000000b R_X86_64_32S      0000000000000000 .rodata + 1e8
000000000af7  00040000000b R_X86_64_32S      0000000000000000 .bss + 0
000000000cb2  00070000000b R_X86_64_32S      0000000000000000 .rodata + 960
000000000ce9  00040000000b R_X86_64_32S      0000000000000000 .bss + 0
000000000d47  00040000000b R_X86_64_32S      0000000000000000 .bss + 0
000000000ffe  00070000000b R_X86_64_32S      0000000000000000 .rodata + a08
000000001094  00040000000b R_X86_64_32S      0000000000000000 .bss + 0
00000000113a  00040000000b R_X86_64_32S      0000000000000000 .bss + 0
00000000115f  00040000000b R_X86_64_32S      0000000000000000 .bss + 0
000000001199  00040000000b R_X86_64_32S      0000000000000000 .bss + 0
00000000125e  00040000000b R_X86_64_32S      0000000000000000 .bss + 0
000000001a38  00040000000b R_X86_64_32S      0000000000000000 .bss + 0
000000001a56  00040000000b R_X86_64_32S      0000000000000000 .bss + 0
000000001b3c  00040000000b R_X86_64_32S      0000000000000000 .bss + 0
000000001b85  00040000000b R_X86_64_32S      0000000000000000 .bss + 0
0000000001ea  000a0000000b R_X86_64_32S      0000000000000000 .rodata + 0
000000000aca  00040000000b R_X86_64_32S      0000000000000000 .bss + 10
000000000aef  00040000000b R_X86_64_32S      0000000000000000 .bss + 10
000000001168  00040000000b R_X86_64_32S      0000000000000000 .bss + 20
000000001173  00040000000b R_X86_64_32S      0000000000000000 .bss + 28
000000001187  00040000000b R_X86_64_32S      0000000000000000 .bss + 20
00000000118e  00040000000b R_X86_64_32S      0000000000000000 .bss + 48
0000000011ad  00040000000b R_X86_64_32S      0000000000000000 .bss + 20

I'm not sure how any of those would qualify as "a local symbol".

And one of the pkgs I rebuild was libtool-base (just in case it matters).

>How-To-Repeat:
On a completely current amd64 system, try to build cups from pkgsrc-current
>Fix:
n/a



Home | Main Index | Thread Index | Old Index