From owner-freebsd-current Mon Nov 18 5:20:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7451D37B401 for ; Mon, 18 Nov 2002 05:20:12 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3F2543E4A for ; Mon, 18 Nov 2002 05:20:09 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id OAA14427 for current@freebsd.org; Mon, 18 Nov 2002 14:20:05 +0100 (CET) Received: from uriah.heep.sax.de (localhost.heep.sax.de [127.0.0.1]) by uriah.heep.sax.de (8.12.5/8.12.5) with ESMTP id gAIDEwWc053760 for ; Mon, 18 Nov 2002 14:14:58 +0100 (MET) (envelope-from j@uriah.heep.sax.de) Received: (from j@localhost) by uriah.heep.sax.de (8.12.5/8.12.5/Submit) id gAIDEwvX053759 for current@freebsd.org; Mon, 18 Nov 2002 14:14:58 +0100 (MET) (envelope-from j) Date: Mon, 18 Nov 2002 14:14:58 +0100 From: Joerg Wunsch 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> Reply-To: Joerg Wunsch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Forwarded message from Kris Kennaway ----- 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 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