Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2002 14:14:58 +0100
From:      Joerg Wunsch <j@uriah.heep.sax.de>
To:        current@freebsd.org
Subject:   CPUTYPE cr*p (Was: [kris@FreeBSD.org: 5.0-CURRENT build failure of ports you maintain])
Message-ID:  <20021118141458.D50308@uriah.heep.sax.de>

next in thread | raw e-mail | index | archive | help
----- Forwarded message from Kris Kennaway <kris@FreeBSD.org> -----

One or more ports that you maintain are currently unbuildable under
FreeBSD 5.0-CURRENT/i386 on the FreeBSD package-building cluster.
[...]

----- End forwarded message -----

...
gmake[2]: Entering directory `/tmp/a/ports/devel/avr-libc/work/avr-libc-2002.10.02/avr3/build/crt1'
avr-gcc  -I../../../include -I../../../common    -O -pipe -mcpu=pentiumpro   -mmcu=avr3 -x assembler-with-cpp -Wa,-gstabs -mmcu=atmega103 -c ../../../crt1/gcrt1.S -o crtm103.o
cc1: error: invalid option `cpu=pentiumpro'

I really /hate/ this CPU feature crap.

What am i supposed to do in order to get cross-compilation working
properly?  I've already tried a number of things, and my -current
from August at least gave in when setting MACHINE_ARCH=avr for
the cross-coimpilation.  Previously, i tried to set CPUTYPE=foo.
Now, with the latest -current, it seems this doesn't work anymore.

Still, i wish no such CPU type flag would auto-inherit, and a simple
"./domake MAKE=gmake" would be sufficient.  Why can't people who
want to pessimize for their current CPU just add this to their
/etc/make.conf, instead of poisoning an entire operating system
by default with it?  I doubt the benefit of a CPU-specific compilation
will outweigh all the hassles of <bsd.cpu.mk> in any way.  I really
doubt.

*grumbling yours*, Joerg
-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021118141458.D50308>