pkgsrc-Bugs archive

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

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



The following reply was made to PR pkg/48670; it has been noted by GNATS.

From: Makoto Fujiwara <makoto%ki.nu@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/48670: lang/gcc46 build fails on netbsd-5/i386
Date: Sat, 22 Mar 2014 23:52:23 +0900

 With NetBSD/i386 5.2, I am having exactly the same situation
 (namely the problem reproduced).
 
 And adding following lines in /etc/mk.conf changes a little
 bit, but still having similar error.
 
 .ifdef BSD_PKG_MK
 . if "${PKGPATH}" == "lang/gcc46"
 CFLAGS+=        -fno-stack-protector
 . endif
 .endif
 
 Just FYI,
 ---
 mef%NetBSD.org@localhost
 Makoto Fujiwara, 
 
 ../libiberty/pic/libiberty.a(argv.o): In function `buildargv':
 argv.c:(.text+0x392): undefined reference to `__stack_chk_fail_local'
 ../libiberty/pic/libiberty.a(simple-object.o): In function 
`simple_object_start_read':
 simple-object.c:(.text+0x319): undefined reference to `__stack_chk_fail_local'
 ../libiberty/pic/libiberty.a(simple-object-coff.o): In function 
`simple_object_coff_match':
 simple-object-coff.c:(.text+0x40b): undefined reference to 
`__stack_chk_fail_local'
 ../libiberty/pic/libiberty.a(simple-object-coff.o): In function 
`simple_object_coff_find_sections':
 simple-object-coff.c:(.text+0x7d6): undefined reference to 
`__stack_chk_fail_local'
 ../libiberty/pic/libiberty.a(simple-object-coff.o): In function 
`simple_object_coff_write_to_file':
 simple-object-coff.c:(.text+0xf23): undefined reference to 
`__stack_chk_fail_local'
 
../libiberty/pic/libiberty.a(simple-object-elf.o):simple-object-elf.c:(.text+0xaf6):
 more undefined references to `__stack_chk_fail_local' follow
 /usr/bin/ld: .libs/liblto_plugin.so.0.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
 gmake[4]: *** [liblto_plugin.la] Error 1
 gmake[4]: Leaving directory `/export/WRKOBJDIR/lang/gcc46/work/obj/lto-plugin'
 gmake[3]: *** [all] Error 2
 gmake[3]: Leaving directory `/export/WRKOBJDIR/lang/gcc46/work/obj/lto-plugin'
 gmake[2]: *** [all-stage2-lto-plugin] Error 2
 gmake[2]: Leaving directory `/export/WRKOBJDIR/lang/gcc46/work/obj'
 gmake[1]: *** [stage2-bubble] Error 2
 gmake[1]: Leaving directory `/export/WRKOBJDIR/lang/gcc46/work/obj'
 gmake: *** [all] Error 2
 *** Error code 2
 


Home | Main Index | Thread Index | Old Index