Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 526142

Summary: cross-avr/gcc-4.8.3[sanitize] fails to build
Product: Gentoo Linux Reporter: Xavier Miller (RETIRED) <xaviermiller>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal CC: embedded, mrueg, rob, stlman
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
gcc-build-logs.tar.bz2

Description Xavier Miller (RETIRED) gentoo-dev 2014-10-20 19:06:54 UTC
Running configure in multilib subdir avrxmega4
pwd: /var/tmp/portage/cross-avr/gcc-4.8.3/work/build/avr
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking build system type... x86_64-gentoo-linux-gnu
checking host system type... avr-unknown-none
checking target system type... avr-unknown-none
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for avr-strip... /usr/libexec/gcc/avr/strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for avr-gcc... /var/tmp/portage/cross-avr/gcc-4.8.3/work/build/./gcc/xgcc -B/var/tmp/portage/cross-avr/gcc-4.8.3/work/build/./gcc/ -B/usr/avr/bin/ -B/usr/avr/lib/ -isystem /usr/avr/include -isystem /usr/avr/sys-include  -mmcu=avrxmega4
checking for C compiler default output file name... 
configure: error: in `/var/tmp/portage/cross-avr/gcc-4.8.3/work/build/avr/avrxmega4/libsanitizer':
configure: error: C compiler cannot create executables
See `config.log' for more details.
Makefile:9339: recipe for target 'configure-target-libsanitizer' failed
make[1]: *** [configure-target-libsanitizer] Error 1
make[1]: Leaving directory '/var/tmp/portage/cross-avr/gcc-4.8.3/work/build'
Makefile:836: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: cross-avr/gcc-4.8.3::local failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=cross-avr/gcc-4.8.3::local'`,
 * the complete build log and the output of `emerge -pqv '=cross-avr/gcc-4.8.3::local'`.
 * The complete build log is located at '/var/tmp/portage/cross-avr/gcc-4.8.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/cross-avr/gcc-4.8.3/temp/environment'.
 * Working directory: '/var/tmp/portage/cross-avr/gcc-4.8.3/work/build'
 * S: '/var/tmp/portage/cross-avr/gcc-4.8.3/work/gcc-4.8.3'
 * 
 * Please include /var/tmp/portage/cross-avr/gcc-4.8.3/work/gcc-build-logs.tar.bz2 in your bug report.
 * 



Reproducible: Always
Comment 1 Xavier Miller (RETIRED) gentoo-dev 2014-10-20 19:09:03 UTC
emerge --info is too big...

[ebuild   R    ] cross-avr/gcc-4.8.3:4.8::local  USE="cxx multilib nls nptl openmp sanitize%* (-altivec) -awt -doc (-fixed-point) -fortran -gcj -go -graphite -hardened -libssp -mudflap -multislot -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla" 0 KiB
Comment 2 Xavier Miller (RETIRED) gentoo-dev 2014-10-20 19:10:43 UTC
Created attachment 387080 [details]
emerge --info
Comment 3 Xavier Miller (RETIRED) gentoo-dev 2014-10-20 19:12:15 UTC
Created attachment 387082 [details]
gcc-build-logs.tar.bz2
Comment 4 SpanKY gentoo-dev 2014-10-20 20:36:33 UTC

*** This bug has been marked as a duplicate of bug 504200 ***
Comment 5 Ɓukasz Stelmach 2014-10-25 20:36:10 UTC
I am afraid this isn't a duplicate and it still happens in spite of bug 504200 being fixed. Today with all the package.use.mask files fixed I can see at the very top of the build.log for cross-avr/gcc-4.8.3:

 * Package:    cross-avr/gcc-4.8.3
 * Repository: local-crossdev
 * Maintainer: toolchain@gentoo.org
 * USE:        abi_x86_64 amd64 cxx elibc_glibc kernel_linux multilib nls nptl openmp sanitize userland_GNU
 * FEATURES:   ccache preserve-libs sandbox splitdebug userpriv usersandbox

Unless I add -sanitize after cross-avr/gcc in /etc/portage/package.use/cross-avr the build fails.
Comment 6 Rob Stoddard 2015-01-28 16:37:15 UTC
*** Bug 538066 has been marked as a duplicate of this bug. ***
Comment 7 SpanKY gentoo-dev 2015-07-06 07:47:05 UTC
*** Bug 553786 has been marked as a duplicate of this bug. ***
Comment 8 SpanKY gentoo-dev 2016-08-10 05:40:55 UTC

*** This bug has been marked as a duplicate of bug 536738 ***