Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582582 - sys-devel/crossdev: handle new USE=vtv gcc flag
Summary: sys-devel/crossdev: handle new USE=vtv gcc flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
: 582904 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-05-09 14:49 UTC by Doug Goldstein (RETIRED)
Modified: 2016-06-07 04:42 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Goldstein (RETIRED) gentoo-dev 2016-05-09 14:49:52 UTC
checking for style of include used by make... GNU
checking for avr-gcc... /var/tmp/portage/cross-avr/gcc-5.3.0/work/build/./gcc/xgcc -B/var/tmp/portage/cross-avr/gcc-5.3.0/work/build/./gcc/ -B/usr/avr/bin/ -B/usr/avr/lib/ -isystem /usr/avr/include -isystem /usr/avr/sys-include  -mmcu=avrtiny
checking for C compiler default output file name...
configure: error: in `/var/tmp/portage/cross-avr/gcc-5.3.0/work/build/avr/avrtiny/libvtv':
configure: error: C compiler cannot create executables
See `config.log' for more details.
Makefile:10202: recipe for target 'configure-target-libvtv' failed
make[1]: *** [configure-target-libvtv] Error 1
make[1]: Leaving directory '/var/tmp/portage/cross-avr/gcc-5.3.0/work/build'
Makefile:852: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: cross-avr/gcc-5.3.0::local failed (compile phase):
 *   emake failed



From /var/tmp/portage/cross-avr/gcc-5.3.0/work/build/avr/avrtiny/libvtv/config.log


configure:3521: /var/tmp/portage/cross-avr/gcc-5.3.0/work/build/./gcc/xgcc -B/var/tmp/portage/cross-avr/gcc-5.3.0/work/build/./gcc/ -B/usr/avr/bin/ -B/usr/avr/lib/ -isystem /usr/avr/include -isystem /usr/avr/sys-include  -mmcu=avrtiny -v >&5
Reading specs from /var/tmp/portage/cross-avr/gcc-5.3.0/work/build/./gcc/specs
Reading specs from /var/tmp/portage/cross-avr/gcc-5.3.0/work/build/./gcc/device-specs/specs-avrtiny
COLLECT_GCC=/var/tmp/portage/cross-avr/gcc-5.3.0/work/build/./gcc/xgcc
COLLECT_LTO_WRAPPER=/var/tmp/portage/cross-avr/gcc-5.3.0/work/build/./gcc/lto-wrapper
Target: avr
Configured with: /var/tmp/portage/cross-avr/gcc-5.3.0/work/gcc-5.3.0/configure --host=x86_64-pc-linux-gnu --target=avr --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/avr/gcc-bin/5.3.0 --includedir=/usr/lib/gcc/avr/5.3.0/include --datadir=/usr/share/gcc-data/avr/5.3.0 --mandir=/usr/share/gcc-data/avr/5.3.0/man --infodir=/usr/share/gcc-data/avr/5.3.0/info --with-gxx-include-dir=/usr/lib/gcc/avr/5.3.0/include/g++-v5 --with-python-dir=/share/gcc-data/avr/5.3.0/python --enable-languages=c,c++ --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 5.3.0 p1.1, pie-0.6.5' --enable-libstdcxx-time --enable-poison-system-directories --enable-shared --disable-threads --disable-bootstrap --enable-multilib --disable-altivec --disable-fixed-point --disable-libgcj --disable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --enable-vtable-verify --enable-libvtv --disable-libquadmath --enable-lto --without-isl --disable-libsanitizer
Thread model: single
gcc version 5.3.0 (Gentoo 5.3.0 p1.1, pie-0.6.5)
configure:3532: $? = 0
configure:3521: /var/tmp/portage/cross-avr/gcc-5.3.0/work/build/./gcc/xgcc -B/var/tmp/portage/cross-avr/gcc-5.3.0/work/build/./gcc/ -B/usr/avr/bin/ -B/usr/avr/lib/ -isystem /usr/avr/include -isystem /usr/avr/sys-include  -mmcu=avrtiny -V >&5
xgcc: error: unrecognized command line option '-V'
xgcc: fatal error: no input files
compilation terminated.
configure:3532: $? = 1
configure:3521: /var/tmp/portage/cross-avr/gcc-5.3.0/work/build/./gcc/xgcc -B/var/tmp/portage/cross-avr/gcc-5.3.0/work/build/./gcc/ -B/usr/avr/bin/ -B/usr/avr/lib/ -isystem /usr/avr/include -isystem /usr/avr/sys-include  -mmcu=avrtiny -qversion >&5
xgcc: error: unrecognized command line option '-qversion'
xgcc: fatal error: no input files
compilation terminated.
configure:3532: $? = 1
configure:3552: checking for C compiler default output file name
configure:3574: /var/tmp/portage/cross-avr/gcc-5.3.0/work/build/./gcc/xgcc -B/var/tmp/portage/cross-avr/gcc-5.3.0/work/build/./gcc/ -B/usr/avr/bin/ -B/usr/avr/lib/ -isystem /usr/avr/include -isystem /usr/avr/sys-include  -mmcu=avrtiny -g -O2   conftest.c  >&5
/usr/libexec/gcc/avr/ld: skipping incompatible /usr/avr/lib/libm.a when searching for -lm
/usr/libexec/gcc/avr/ld: cannot find -lm
/usr/libexec/gcc/avr/ld: skipping incompatible /usr/avr/lib/libc.a when searching for -lc
/usr/libexec/gcc/avr/ld: cannot find -lc
collect2: error: ld returned 1 exit status
configure:3578: $? = 1
configure:3615: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU Vtable Verification Runtime Library"
| #define PACKAGE_TARNAME "libvtv"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU Vtable Verification Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libvtv/"
| #define PACKAGE "libvtv"
| #define VERSION "1.0"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3621: error: in `/var/tmp/portage/cross-avr/gcc-5.3.0/work/build/avr/avrtiny/libvtv':
configure:3625: error: C compiler cannot create executables
Comment 1 SpanKY gentoo-dev 2016-05-13 17:22:37 UTC
*** Bug 582904 has been marked as a duplicate of this bug. ***
Comment 2 João P. Teixeira 2016-05-21 18:19:44 UTC
Virtual table verification might not be supported on powerpc architecture. On later version (gcc-5.1) vtv flag seems to have been disabled.

http://git.freesa.org/toolchain/gcc/blob/master/libvtv/configure.tgt

I have checked that this package compiles with USE="-vtv"
Comment 3 Alex Orange 2016-05-24 01:40:23 UTC
I can confirm this is also a problem on the MSP430 architecture for gcc 4.9.3. It doesn't compile by default, it does after I add -vtv to my msp430 gcc line in my use file.
Comment 5 Maciej S. Szmigiero 2016-06-03 20:30:03 UTC
Unfortunately, on mingw64 target gcc stage 2 also fails to build unless -vtv
is added to GUSE_DISABLE_STAGE_2.

This is true both for gcc-4.9.3 and gcc-5.3.0 - current stable and unstable gcc, respectively.