pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/49069: gcc46/gcc48 regression: doesn't build (stack_chk)
>Number: 49069
>Category: pkg
>Synopsis: gcc46/gcc48 regression: doesn't build (stack_chk)
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 04 11:50:00 +0000 2014
>Originator: Ignatios Souvatzis
>Release: NetBSD 6.1.4_PATCH
>Organization:
>Environment:
System: NetBSD random83 6.1.4_PATCH NetBSD 6.1.4_PATCH (XEN3PAE_DOMU) #7: Fri
May 23 16:39:39 CEST 2014
ignatios%random84.cs.uni-bonn.de@localhost:/var/itch/sources/6.1/oi386/sys/arch/i386/compile/XEN3PAE_DOMU
i386
Architecture: i386
Machine: i386
# cat /usr/pkgsrc/CVS/Tag
Tpkgsrc-2014Q2
>Description:
A local application needs at least gcc4.6. When updating the target
machine's pkgsrc bundle, neither gcc46 nor gcc48 would build, both
bemoaning missing __stack_chk_fail_local (see below).
[...]
/usr/pkg/bin/bash ./libtool --tag CC --mode=link
/pkg_comp/obj/pkgsrc/lang/gcc46/default/obj/./gcc/xgcc
-B/pkg_comp/obj/pkgsrc/lang/gcc46/default/obj/./gcc/
-B/usr/pkg/gcc46/i386-unknown-netbsdelf6.1.4./bin/
-B/usr/pkg/gcc46/i386-unknown-netbsdelf6.1.4./lib/ -isystem
/usr/pkg/gcc46/i386-unknown-netbsdelf6.1.4./include -isystem
/usr/pkg/gcc46/i386-unknown-netbsdelf6.1.4./sys-include -Wall -Werror
-Wc,-pthread -g -O2
-I/pkg_comp/obj/pkgsrc/lang/gcc46/default/.buildlink/include -I/usr/pkg/include
-Wl,-O1 -o libgomp.la -version-info 1:0:0
-Wl,--version-script,/pkg_comp/obj/pkgsrc/lang/gcc46/default/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: /pkg_comp/obj/pkgsrc/lang/gcc46/default/obj/./gcc/xgcc
-B/pkg_comp/obj/pkgsrc/lang/gcc46/default/obj/./gcc/
-B/usr/pkg/gcc46/i386-unknown-netbsdelf6.1.4./bin/
-B/usr/pkg/gcc46/i386-unknown-netbsdelf6.1.4./lib/ -isystem
/usr/pkg/gcc46/i386-unknown-netbsdelf6.1.4./include -isystem
/usr/pkg/gcc46/i386-unknown-netbsdelf6.1.4./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,/pkg_comp/obj/pkgsrc/lang/gcc46/default/gcc-4.6.4/libgomp/libgomp.map
-Wl,-soname -Wl,libgomp.so.1 -o .libs/libgomp.so.1.0
.libs/team.o: In function `gomp_team_start':
/pkg_comp/obj/pkgsrc/lang/gcc46/default/gcc-4.6.4/libgomp/team.c:451: undefined
reference to `__stack_chk_fail_local'
.libs/task.o: In function `GOMP_task':
/pkg_comp/obj/pkgsrc/lang/gcc46/default/gcc-4.6.4/libgomp/task.c:183: undefined
reference to `__stack_chk_fail_local'
collect2: ld returned 1 exit status
Makefile:446: recipe for target 'libgomp.la' failed
gmake[5]: *** [libgomp.la] Error 1
gmake[5]: Leaving directory
'/pkg_comp/obj/pkgsrc/lang/gcc46/default/obj/i386-unknown-netbsdelf6.1.4./libgomp'
Makefile:716: recipe for target 'all-recursive' failed
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory
'/pkg_comp/obj/pkgsrc/lang/gcc46/default/obj/i386-unknown-netbsdelf6.1.4./libgomp'
Makefile:349: recipe for target 'all' failed
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory
'/pkg_comp/obj/pkgsrc/lang/gcc46/default/obj/i386-unknown-netbsdelf6.1.4./libgomp'
Makefile:19172: recipe for target 'all-stage1-target-libgomp' failed
gmake[2]: *** [all-stage1-target-libgomp] Error 2
gmake[2]: Leaving directory '/pkg_comp/obj/pkgsrc/lang/gcc46/default/obj'
Makefile:19971: recipe for target 'stage1-bubble' failed
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory '/pkg_comp/obj/pkgsrc/lang/gcc46/default/obj'
Makefile:892: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/lang/gcc46
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package
Makefile.
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/gcc46
pkg_comp:32bit61-14q2.conf#
pkg_comp:32bit61-14q2.conf# make
=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Installing dependencies for gcc48-4.8.3
=> Full dependency gcc48-libs-[0-9]*: NOT found
=> Verifying reinstall for ../../lang/gcc48-libs
=> Bootstrap dependency digest>=20010302: found digest-20121220
[...]
checking __stack_chk_fail in target C library... no
[...]
rm -f libstdc++-symbols.ver.tmp
/bin/sh ../libtool --tag CXX --mode=link
/pkg_comp/obj/pkgsrc/lang/gcc48-libs/default/build/./gcc/xgcc -shared-libgcc
-B/pkg_comp/obj/pkgsrc/lang/gcc48-libs/default/build/./gcc -nostdinc++
-L/pkg_comp/obj/pkgsrc/lang/gcc48-libs/default/build/i486--netbsdelf/libstdc++-v3/src
-L/pkg_comp/obj/pkgsrc/lang/gcc48-libs/default/build/i486--netbsdelf/libstdc++-v3/src/.libs
-B/usr/pkg/gcc48/i486--netbsdelf/bin/ -B/usr/pkg/gcc48/i486--netbsdelf/lib/
-isystem /usr/pkg/gcc48/i486--netbsdelf/include -isystem
/usr/pkg/gcc48/i486--netbsdelf/sys-include -Wl,-O1 -Wl,-z,relro
-Wl,--gc-sections -fPIC -DPIC -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections
-frandom-seed=libstdc++.la '-Wl,-R/usr/pkg/lib' -o libstdc++.la -version-info
6:19:0 -Wl,--version-script=libstdc++-symbols.ver -lm -rpath /usr/pkg/gcc48/lib
compatibility.lo compatibility-debug_list.lo compatibility-debug_list-2.lo
compatibility-c++0x.lo compatibil
ity-atomic-c++0x.lo compatibility-thread-c++0x.lo compatibility-chrono.lo
../libsupc++/libsupc++convenience.la ../src/c++98/libc++98convenience.la
../src/c++11/libc++11convenience.la
libtool: link: /pkg_comp/obj/pkgsrc/lang/gcc48-libs/default/build/./gcc/xgcc
-shared-libgcc -B/pkg_comp/obj/pkgsrc/lang/gcc48-libs/default/build/./gcc
-nostdinc++
-L/pkg_comp/obj/pkgsrc/lang/gcc48-libs/default/build/i486--netbsdelf/libstdc++-v3/src
-L/pkg_comp/obj/pkgsrc/lang/gcc48-libs/default/build/i486--netbsdelf/libstdc++-v3/src/.libs
-B/usr/pkg/gcc48/i486--netbsdelf/bin/ -B/usr/pkg/gcc48/i486--netbsdelf/lib/
-isystem /usr/pkg/gcc48/i486--netbsdelf/include -isystem
/usr/pkg/gcc48/i486--netbsdelf/sys-include -shared -nostdlib /usr/lib/crti.o
/usr/lib/crtbeginS.o .libs/compatibility.o .libs/compatibility-debug_list.o
.libs/compatibility-debug_list-2.o .libs/compatibility-c++0x.o
.libs/compatibility-atomic-c++0x.o .libs/compatibility-thread-c++0x.o
.libs/compatibility-chrono.o -Wl,--whole-archive
../libsupc++/.libs/libsupc++convenience.a
../src/c++98/.libs/libc++98convenience.a
../src/c++11/.libs/libc++11convenience.a -Wl,--no-whole-archive
-L/pkg_comp/obj/pkgsrc/lang
/gcc48-libs/default/build/i486--netbsdelf/libstdc++-v3/src
-L/pkg_comp/obj/pkgsrc/lang/gcc48-libs/default/build/i486--netbsdelf/libstdc++-v3/src/.libs
-lm -L/pkg_comp/obj/pkgsrc/lang/gcc48-libs/default/build/./gcc
/usr/lib/crtendS.o /usr/lib/crtn.o -Wl,-O1 -Wl,-z -Wl,relro -Wl,--gc-sections
-Wl,-R/usr/pkg/lib -Wl,--version-script=libstdc++-symbols.ver -Wl,-soname
-Wl,libstdc++.so.6 -o .libs/libstdc++.so.6.19
../src/c++98/.libs/libc++98convenience.a(locale-inst.o): In function
`std::time_put<char, std::ostreambuf_iterator<char, std::char_traits<char> >
>::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >,
std::ios_base&, char, tm const*, char, char) const':
/pkg_comp/obj/pkgsrc/lang/gcc48-libs/default/build/i486--netbsdelf/libstdc++-v3/include/bits/locale_facets_nonio.tcc:1213:
undefined reference to `__stack_chk_fail_local'
../src/c++98/.libs/libc++98convenience.a(locale-inst.o): In function
`std::money_put<char, std::ostreambuf_iterator<char, std::char_traits<char> >
>::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, bool,
std::ios_base&, char, long double) const':
/pkg_comp/obj/pkgsrc/lang/gcc48-libs/default/build/i486--netbsdelf/libstdc++-v3/include/bits/locale_facets_nonio.tcc:603:
undefined reference to `__stack_chk_fail_local'
../src/c++98/.libs/libc++98convenience.a(locale-inst.o): In function
`std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char,
std::ostreambuf_iterator<char, std::char_traits<char> >
>::_M_insert_int<long>(std::ostreambuf_iterator<char, std::char_traits<char> >,
std::ios_base&, char, long) const':
/pkg_comp/obj/pkgsrc/lang/gcc48-libs/default/build/i486--netbsdelf/libstdc++-v3/include/bits/locale_facets.tcc:929:
undefined reference to `__stack_chk_fail_local'
../src/c++98/.libs/libc++98convenience.a(locale-inst.o): In function
`std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char,
std::ostreambuf_iterator<char, std::char_traits<char> >
>::_M_insert_int<unsigned long>(std::ostreambuf_iterator<char,
std::char_traits<char> >, std::ios_base&, char, unsigned long) const':
/pkg_comp/obj/pkgsrc/lang/gcc48-libs/default/build/i486--netbsdelf/libstdc++-v3/include/bits/locale_facets.tcc:929:
undefined reference to `__stack_chk_fail_local'
../src/c++98/.libs/libc++98convenience.a(locale-inst.o): In function
`std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char,
std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<long
long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&,
char, long long) const':
/pkg_comp/obj/pkgsrc/lang/gcc48-libs/default/build/i486--netbsdelf/libstdc++-v3/include/bits/locale_facets.tcc:929:
undefined reference to `__stack_chk_fail_local'
../src/c++98/.libs/libc++98convenience.a(locale-inst.o):/pkg_comp/obj/pkgsrc/lang/gcc48-libs/default/build/i486--netbsdelf/libstdc++-v3/include/bits/locale_facets.tcc:929:
more undefined references to `__stack_chk_fail_local' follow
collect2: error: ld returned 1 exit status
Makefile:545: recipe for target 'libstdc++.la' failed
gmake[6]: *** [libstdc++.la] Error 1
gmake[6]: Leaving directory
'/pkg_comp/obj/pkgsrc/lang/gcc48-libs/default/build/i486--netbsdelf/libstdc++-v3/src'
Makefile:575: recipe for target 'all-recursive' failed
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory
'/pkg_comp/obj/pkgsrc/lang/gcc48-libs/default/build/i486--netbsdelf/libstdc++-v3/src'
Makefile:480: recipe for target 'all-recursive' failed
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory
'/pkg_comp/obj/pkgsrc/lang/gcc48-libs/default/build/i486--netbsdelf/libstdc++-v3'
Makefile:386: recipe for target 'all' failed
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory
'/pkg_comp/obj/pkgsrc/lang/gcc48-libs/default/build/i486--netbsdelf/libstdc++-v3'
Makefile:16238: recipe for target 'all-stage1-target-libstdc++-v3' failed
gmake[2]: *** [all-stage1-target-libstdc++-v3] Error 2
gmake[2]: Leaving directory '/pkg_comp/obj/pkgsrc/lang/gcc48-libs/default/build'
Makefile:22421: recipe for target 'stage1-bubble' failed
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory '/pkg_comp/obj/pkgsrc/lang/gcc48-libs/default/build'
Makefile:892: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/lang/gcc48-libs
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/gcc48-libs
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/gcc48
pkg_comp:32bit61-14q2.conf# 01[Kexit
Script done on Mon Aug 4 10:12:47 2014
>How-To-Repeat:
cd /usr/pkgsrc/lang/gcc46 && make
cd /usr/pkgsrc/lang/gcc48 && make
>Fix:
workaround: maybe use gcc47
Home |
Main Index |
Thread Index |
Old Index