pkgsrc-Bugs archive

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

pkg/48670: lang/gcc46 build fails on netbsd-5/i386



>Number:         48670
>Category:       pkg
>Synopsis:       lang/gcc46 build fails on netbsd-5/i386
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 20 22:05:00 +0000 2014
>Originator:     John D. Baker
>Release:        NetBSD/i386-5.2_STABLE, pkgsrc-HEAD (pre-pkgsrc-2014Q1)
>Organization:
>Environment:
NetBSD verthandi.technoskunk.fur 5.2_STABLE NetBSD 5.2_STABLE (VERTHANDI) #13: 
Wed Dec 18 05:44:53 CST 2013  
sysop%verthandi.technoskunk.fur@localhost:/d0/build/netbsd-5/obj/i386/sys/arch/i386/compile/VERTHANDI
 i386

>Description:
After updating to pkgsrc-HEAD at the start of the freeze before the
branch of pkgsrc-2014Q1, building "lang/gcc46" (needed for www/firefox
and sysutils/memtestplus) fails on a netbsd-5/i386 system as follows:

[...]
/usr/pkg/bin/bash ./libtool --tag CC   --mode=link 
/d0/build/pkgsrc/lang/gcc46/work/obj/./gcc/xgcc 
-B/d0/build/pkgsrc/lang/gcc46/work/obj/./gcc/ 
-B/usr/pkg/gcc46/i386-unknown-netbsdelf5.2./bin/ 
-B/usr/pkg/gcc46/i386-unknown-netbsdelf5.2./lib/ -isystem 
/usr/pkg/gcc46/i386-unknown-netbsdelf5.2./include -isystem 
/usr/pkg/gcc46/i386-unknown-netbsdelf5.2./sys-include    -Wall -Werror 
-Wc,-pthread -g -O2 -I/d0/build/pkgsrc/lang/gcc46/work/.buildlink/include 
-I/usr/pkg/include -I/usr/include   -Wl,-O1   -o libgomp.la -version-info 1:0:0 
-Wl,--version-script,/d0/build/pkgsrc/lang/gcc46/work/gcc-4.6.4/libgomp/libgomp.map
  -rpath /usr/pkg/gcc46/lib alloc.lo barrier.lo critical.lo env.lo error.lo 
iter.lo iter_ull.lo loop.lo loop_ull.lo ordered.lo parallel.lo sections.lo 
single.lo task.lo team.lo work.lo lock.lo mutex.lo proc.lo sem.lo bar.lo 
ptrlock.lo time.lo fortran.lo affinity.lo  
libtool: link: /d0/build/pkgsrc/lang/gcc46/work/obj/./gcc/xgcc 
-B/d0/build/pkgsrc/lang/gcc46/work/obj/./gcc/ 
-B/usr/pkg/gcc46/i386-unknown-netbsdelf5.2./bin/ 
-B/usr/pkg/gcc46/i386-unknown-netbsdelf5.2./lib/ -isystem 
/usr/pkg/gcc46/i386-unknown-netbsdelf5.2./include -isystem 
/usr/pkg/gcc46/i386-unknown-netbsdelf5.2./sys-include    -shared  .libs/alloc.o 
.libs/barrier.o .libs/critical.o .libs/env.o .libs/error.o .libs/iter.o 
.libs/iter_ull.o .libs/loop.o .libs/loop_ull.o .libs/ordered.o .libs/parallel.o 
.libs/sections.o .libs/single.o .libs/task.o .libs/team.o .libs/work.o 
.libs/lock.o .libs/mutex.o .libs/proc.o .libs/sem.o .libs/bar.o .libs/ptrlock.o 
.libs/time.o .libs/fortran.o .libs/affinity.o    -pthread -Wl,-O1 
-Wl,--version-script 
-Wl,/d0/build/pkgsrc/lang/gcc46/work/gcc-4.6.4/libgomp/libgomp.map   
-Wl,-soname -Wl,libgomp.so.1 -o .libs/libgomp.so.1.0
.libs/task.o: In function `GOMP_task':
/d0/build/pkgsrc/lang/gcc46/work/gcc-4.6.4/libgomp/task.c:183: undefined 
reference to `__stack_chk_fail_local'
.libs/team.o: In function `gomp_team_start':
/d0/build/pkgsrc/lang/gcc46/work/gcc-4.6.4/libgomp/team.c:451: undefined 
reference to `__stack_chk_fail_local'
/usr/bin/ld: .libs/libgomp.so.1.0: hidden symbol `__stack_chk_fail_local' isn't 
defined
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
Makefile:446: recipe for target 'libgomp.la' failed
gmake[5]: *** [libgomp.la] Error 1
gmake[5]: Leaving directory 
'/d0/build/pkgsrc/lang/gcc46/work/obj/i386-unknown-netbsdelf5.2./libgomp'
Makefile:716: recipe for target 'all-recursive' failed
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory 
'/d0/build/pkgsrc/lang/gcc46/work/obj/i386-unknown-netbsdelf5.2./libgomp'
Makefile:349: recipe for target 'all' failed
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory 
'/d0/build/pkgsrc/lang/gcc46/work/obj/i386-unknown-netbsdelf5.2./libgomp'
Makefile:19172: recipe for target 'all-stage1-target-libgomp' failed
gmake[2]: *** [all-stage1-target-libgomp] Error 2
gmake[2]: Leaving directory '/d0/build/pkgsrc/lang/gcc46/work/obj'
Makefile:19971: recipe for target 'stage1-bubble' failed
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory '/d0/build/pkgsrc/lang/gcc46/work/obj'
Makefile:892: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /x/pkgsrc/lang/gcc46
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package 
Makefile.
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/lang/gcc46

>How-To-Repeat:
With pkgsrc-HEAD, attempt to build "lang/gcc46" on a netbsd-5/i386
system (other arches?).
>Fix:



Home | Main Index | Thread Index | Old Index