pkgsrc-Bugs archive

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

pkg/50762: lang/gcc3-c fails to build after binutils update



>Number:         50762
>Category:       pkg
>Synopsis:       lang/gcc3-c fails to build after binutils update
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 03 14:15:00 +0000 2016
>Originator:     Greg Oster
>Release:        NetBSD 7.0
>Organization:
>Environment:
	
	
System: NetBSD mickey 7.0 NetBSD 7.0 (QUAD) #0: Mon Sep 28 11:54:36 CST 2015 oster@quad:/u1/builds/build265/src/obj/amd64/u1/builds/build265/src/sys/arch/amd64/compile/QUAD amd64
Architecture: x86_64
Machine: amd64
>Description:

While upgrading packages, I encountered the following error while building lang/gcc3-c:

...


rm -rf ./libgcc.a
ar  rc ./libgcc.a libgcc/./_muldi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_cmpdi2.o libgcc/./_ucmpdi2.o libgcc/./_floatdidf.o libgcc/./_floatdisf.o libgcc/./_fixunsdfsi.o libgcc/./_fixunssfsi.o libgcc/./_fixunsdfdi.o libgcc/./_fixdfdi.o libgcc/./_fixunssfdi.o libgcc/./_fixsfdi.o libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o libgcc/./_fixunsxfsi.o libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o libgcc/./_floatditf.o libgcc/./_clear_cache.o libgcc/./_trampoline.o libgcc/./__main.o libgcc/./_exit.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o libgcc/./_addvsi3.o libgcc/./_addvdi3.o libgcc/./_subvsi3.o libgcc/./_subvdi3.o libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o libgcc/./_divdi3.o libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o libgcc/./_eprintf.o libgcc/./_bb.o libgcc/./__gcc_bcmp
 .o
if [ -f ranlib ] || ( [ x86_64--netbsdelf2.0 = x86_64--netbsdelf2.0 ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ) ; then \
  ranlib ./libgcc.a ; \
else true; fi;
rm -rf ./libgcc_eh.a
{ nm -pg  libgcc/./_muldi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_cmpdi2.o libgcc/./_ucmpdi2.o libgcc/./_floatdidf.o libgcc/./_floatdisf.o libgcc/./_fixunsdfsi.o libgcc/./_fixunssfsi.o libgcc/./_fixunsdfdi.o libgcc/./_fixdfdi.o libgcc/./_fixunssfdi.o libgcc/./_fixsfdi.o libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o libgcc/./_fixunsxfsi.o libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o libgcc/./_floatditf.o libgcc/./_clear_cache.o libgcc/./_trampoline.o libgcc/./__main.o libgcc/./_exit.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o libgcc/./_addvsi3.o libgcc/./_addvdi3.o libgcc/./_subvsi3.o libgcc/./_subvdi3.o libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o libgcc/./_divdi3.o libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o  libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde.o libgcc/./unwi
 nd-sjlj.o libgcc/./unwind-c.o; echo %%; \
  cat ./libgcc-std.ver | sed -e "/^[    ]*#/d" -e 's/^%\(if\|else\|elif\|endif\|define\)/#\1/' \
  | /usr/pkgsrc/lang/gcc3-c/work.mickey/gcc-3.3.6/gcc/xgcc -B/usr/pkgsrc/lang/gcc3-c/work.mickey/gcc-3.3.6/gcc/ -B/usr/pkg/gcc3/x86_64--netbsdelf2.0/bin/ -B/usr/pkg/gcc3/x86_64--netbsdelf2.0/lib/ -isystem /usr/pkg/gcc3/x86_64--netbsdelf2.0/include -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include   -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I. -I./. -I./config -I./../include  -E -xassembler-with-cpp -; \
} | gawk -f ./mkmap-symver.awk  > libgcc/./tmp-libgcc.map
ar  rc ./libgcc_eh.a libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o libgcc/./unwind-c.o
if [ -f ranlib ] || ( [ x86_64--netbsdelf2.0 = x86_64--netbsdelf2.0 ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ) ; then \
  ranlib ./libgcc_eh.a ; \
else true; fi;
mv libgcc/./tmp-libgcc.map libgcc/./libgcc.map
/usr/pkgsrc/lang/gcc3-c/work.mickey/gcc-3.3.6/gcc/xgcc -B/usr/pkgsrc/lang/gcc3-c/work.mickey/gcc-3.3.6/gcc/ -B/usr/pkg/gcc3/x86_64--netbsdelf2.0/bin/ -B/usr/pkg/gcc3/x86_64--netbsdelf2.0/lib/ -isystem /usr/pkg/gcc3/x86_64--netbsdelf2.0/include -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include   -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -shared -nodefaultlibs -Wl,--soname=libgcc_s.so.1 -Wl,--version-script=libgcc/./libgcc.map -o libgcc_s.so.1   libgcc/./_muldi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_cmpdi2.o libgcc/./_ucmpdi2.o libgcc/./_floatdidf.o libgcc/./_floatdisf.o libgcc/./_fixunsdfsi.o libgcc/./_fixunssfsi.o libgcc/./_fixunsdfdi.o libgcc/./_fixdfdi.o libgcc/./_fixunssfdi.o libgcc/./_fixsfdi.o libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o libgcc/./_fixunsxfsi.o libgcc/./_fixtfdi.o libgcc/./_fixuns
 tfdi.o libgcc/./_floatditf.o libgcc/./_clear_cache.o libgcc/./_trampoline.o libgcc/./__main.o libgcc/./_exit.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o libgcc/./_addvsi3.o libgcc/./_addvdi3.o libgcc/./_subvsi3.o libgcc/./_subvdi3.o libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o libgcc/./_divdi3.o libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o  libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o libgcc/./unwind-c.o -lc && rm -f libgcc_s.so && ln -s libgcc_s.so.1 libgcc_s.so
/usr/bin/ld: error in /usr/pkgsrc/lang/gcc3-c/work.mickey/gcc-3.3.6/gcc/crtendS.o(.eh_frame); no .eh_frame_hdr table will be created.
/usr/bin/ld: /usr/pkgsrc/lang/gcc3-c/work.mickey/gcc-3.3.6/gcc/crtbeginS.o: unrecognized relocation (0x2a) in section `.text'
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
libgcc.mk:134: recipe for target 'libgcc_s.so' failed
gmake[2]: *** [libgcc_s.so] Error 1
gmake[2]: Leaving directory '/usr/pkgsrc/lang/gcc3-c/work.mickey/gcc-3.3.6/gcc'
Makefile:1126: recipe for target 'libgcc.a' failed
gmake[1]: *** [libgcc.a] Error 2
gmake[1]: Leaving directory '/usr/pkgsrc/lang/gcc3-c/work.mickey/gcc-3.3.6/gcc'
Makefile:1544: recipe for target 'all-gcc' failed
gmake: *** [all-gcc] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/lang/gcc3-c
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/gcc3-c

It was suggested to me that the issue was to do with the newer
binutils (2.26 vs 2.25.1)  


>How-To-Repeat:

	start with an empty /usr/pkg , then:
	
	cd /usr/pkgsrc/lang/gcc3-c
	make install clean
	*boom*

>Fix:
	Unknown to me.

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index