[OpenWrt-Tickets] [OpenWrt] #3200: collectd-4.2.0 doesn't compile... it uses -mtune and -march in one gcc call (and they're different)
OpenWrt
openwrt-devel at lists.openwrt.org
Tue Mar 4 12:52:52 CET 2008
#3200: collectd-4.2.0 doesn't compile... it uses -mtune and -march in one gcc
call (and they're different)
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: packages | Keywords:
-----------------------+----------------------------------------------------
if /bin/sh ../libtool --tag=CC --mode=compile mips-linux-uclibc-gcc
-DHAVE_CONFIG_H -I. -I. -I. -I/var/kunden/webs/www-0003/m1l.de/fonera
/kamikaze-trunk/staging_dir/mips/usr/include
-I/var/kunden/webs/www-0003/m1l.de/fonera/kamikaze-
trunk/staging_dir/mips/include -DINET6 -O2 -pipe -march=athlon-xp -Dlinux
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/lib/perl5/5.8.8/i686-linux/CORE -I. -I/usr/include -Os -pipe
-mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -MT snmp_la-snmp.lo
-MD -MP -MF ".deps/snmp_la-snmp.Tpo" -c -o snmp_la-snmp.lo `test -f
'snmp.c' || echo './'`snmp.c; \
then mv -f ".deps/snmp_la-snmp.Tpo" ".deps/snmp_la-snmp.Plo"; else
rm -f ".deps/snmp_la-snmp.Tpo"; exit 1; fi
mips-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/var/kunden/webs/www-0003/m1l.de/fonera/kamikaze-
trunk/staging_dir/mips/usr/include
-I/var/kunden/webs/www-0003/m1l.de/fonera/kamikaze-
trunk/staging_dir/mips/include -DINET6 -O2 -pipe -march=athlon-xp -Dlinux
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/lib/perl5/5.8.8/i686-linux/CORE -I. -I/usr/include -Os -pipe
-mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -MT snmp_la-snmp.lo
-MD -MP -MF .deps/snmp_la-snmp.Tpo -c snmp.c -fPIC -DPIC -o .libs
/snmp_la-snmp.o
Assembler messages:
Error: Bad value (athlon-xp) for -march
cc1: error: unrecognized command line option "-march=athlon-xp"
make[7]: *** [snmp_la-snmp.lo] Error 1
make[7]: Leaving directory `/var/kunden/webs/www-0003/m1l.de/fonera
/kamikaze-trunk/build_dir/mips/collectd-4.2.0/src'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/var/kunden/webs/www-0003/m1l.de/fonera
/kamikaze-trunk/build_dir/mips/collectd-4.2.0/src'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/var/kunden/webs/www-0003/m1l.de/fonera
/kamikaze-trunk/build_dir/mips/collectd-4.2.0/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/kunden/webs/www-0003/m1l.de/fonera
/kamikaze-trunk/build_dir/mips/collectd-4.2.0'
make[3]: *** [/var/kunden/webs/www-0003/m1l.de/fonera/kamikaze-
trunk/build_dir/mips/collectd-4.2.0/.built] Error 2
make[3]: Leaving directory `/var/kunden/webs/www-0003/m1l.de/fonera
/kamikaze-trunk/package/utils/collectd'
make[2]: *** [package/utils/collectd/compile] Error 2
make[2]: Leaving directory `/var/kunden/webs/www-0003/m1l.de/fonera
/kamikaze-trunk'
make[1]: *** [/var/kunden/webs/www-0003/m1l.de/fonera/kamikaze-
trunk/staging_dir/mips/stamp/.package_compile] Error 2
make[1]: Leaving directory `/var/kunden/webs/www-0003/m1l.de/fonera
/kamikaze-trunk'
make: *** [world] Error 2
If more information is needed, I will supply them.
-B.Milde
--
Ticket URL: <https://dev.openwrt.org/ticket/3200>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
More information about the openwrt-tickets
mailing list