On 14/09/2014 09:10, meino.cra...@gmx.de wrote: > Hi, > > The command emerge "=daq-daq-2.0.2" failed with: >>>> Configuring source in /var/tmp/portage/net-libs/daq-2.0.2/work/daq-2.0.2 >>>> ... > * econf: updating daq-2.0.2/config.guess with > /usr/share/gnuconfig/config.guess > * econf: updating daq-2.0.2/config.sub with /usr/share/gnuconfig/config.sub > ./configure --prefix=/usr --build=x86_64-pc-linux-gnu > --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info > --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib > --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking > --enable-ipv6 --enable-pcap-module --enable-afpacket-module > --enable-dump-module --disable-nfq-module --disable-ipq-module > --disable-static --disable-ipfw-module --disable-bundled-modules > configure: loading site script /usr/share/config.site > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking whether make supports nested variables... yes > checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc > checking whether the C compiler works... no > configure: error: in `/var/tmp/portage/net-libs/daq-2.0.2/work/daq-2.0.2': > configure: error: C compiler cannot create executables > See `config.log' for more details > > The relevant part of the config.log shows: > configure:3355: $? = 0 > configure:3344: x86_64-pc-linux-gnu-gcc -v >&5 > Using built-in specs. > COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.2/x86_64-pc-linux-gnu-gcc > COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/lto-wrapper > Target: x86_64-pc-linux-gnu > Configured with: > /var/tmp/portage/sys-devel/gcc-4.8.2/work/gcc-4.8.2/configure > --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr > --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.2 > --includedir=/usr/lib/gcc/x86_64-pc-linux- > gnu/4.8.2/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.2 > --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.2/man > --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.2/info > --with-gxx-include-dir=/usr/lib/gcc/x86_64-p > c-linux-gnu/4.8.2/include/g++-v4 > --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.8.2/python > --enable-languages=c,c++,objc,fortran --enable-obsolete --enable-secureplt > --disable-werror --with-system-zlib --enable-nls --without-incl > uded-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ > --with-pkgversion='Gentoo 4.8.2 p1.3r1, pie-0.5.8r1' --enable-libstdcxx-time > --enable-shared --enable-threads=posix --enable-__cxa_atexit > --enable-clocale=gnu - > -enable-multilib --with-multilib-list=m32,m64 --disable-altivec > --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp > --disable-libmudflap --disable-libssp --enable-lto --without-cloog > Thread model: posix > gcc version 4.8.2 (Gentoo 4.8.2 p1.3r1, pie-0.5.8r1) > configure:3355: $? = 0 > configure:3344: x86_64-pc-linux-gnu-gcc -V >&5 > x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V' > x86_64-pc-linux-gnu-gcc: fatal error: no input files > compilation terminated. > configure:3355: $? = 1 > configure:3344: x86_64-pc-linux-gnu-gcc -qversion >&5 > x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion' > x86_64-pc-linux-gnu-gcc: fatal error: no input files > compilation terminated. > configure:3355: $? = 1 > configure:3375: checking whether the C compiler works > configure:3397: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -msse3 -ggdb > -combine -ffast-math -fopenmp -fprefetch-loop-arrays > -ftree-parallelize-loops=12 -funroll-all-loops -fwhole-program > -mtune=amdfam10 -O3 -Wl,-O1 -Wl,--as-needed > conftest.c >&5 > x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-combine' > configure:3401: $? = 1 > configure:3439: result: no > configure: failed program was: > | /* confdefs.h */ > | #define PACKAGE_NAME "daq" > | #define PACKAGE_TARNAME "daq" > | #define PACKAGE_VERSION "2.0.2" > | #define PACKAGE_STRING "daq 2.0.2" > | #define PACKAGE_BUGREPORT "snort-t...@sourcefire.com" > | #define PACKAGE_URL "" > | #define PACKAGE "daq" > | #define VERSION "2.0.2" > | /* end confdefs.h. */ > | > | int > | main () > | { > | > | ; > | return 0; > | } > configure:3444: error: in > `/var/tmp/portage/net-libs/daq-2.0.2/work/daq-2.0.2': > configure:3446: error: C compiler cannot create executables > See `config.log' for more details > > To check I reemerged 'less' and this compiles fine. So, gcc works fine > so far. > > What's wrong here? Wrong gcc-version? daq not compatible with gcc (or > vice versa)?
I think it's wrong gcc-version because of these silly errors: x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V' x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion' x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-combine' I haven't looked into it any further, but I'd say it's a bug in the build system so report it to bgo. Meanwhile, as a workaround to get it to build, install gcc:4.7 and use that to build daq. See if that works, if so mention it in your bug report. -- Alan McKinnon alan.mckin...@gmail.com