From owner-freebsd-questions@FreeBSD.ORG Mon Apr 25 16:20:44 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A90AA16A4CE for ; Mon, 25 Apr 2005 16:20:44 +0000 (GMT) Received: from bogodyn.org (mail.bogodyn.org [216.184.25.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9923143D2D for ; Mon, 25 Apr 2005 16:20:42 +0000 (GMT) (envelope-from russo@bogodyn.org) Received: from bogodyn.org (localhost [127.0.0.1]) by bogodyn.org (8.13.1/8.13.1) with ESMTP id j3PGKc8t079074; Mon, 25 Apr 2005 10:20:38 -0600 (MDT) (envelope-from russo@bogodyn.org) Received: (from russo@localhost) by bogodyn.org (8.13.1/8.13.1/Submit) id j3PGKcra079073; Mon, 25 Apr 2005 10:20:38 -0600 (MDT) (envelope-from russo) Date: Mon, 25 Apr 2005 10:20:38 -0600 From: Tom Russo To: freebsd-questions@freebsd.org Message-ID: <20050425162038.GA79057@bogodyn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Organization: International Institute for Advanced Quantum Bogodynamical Studies X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on bogodyn.org Subject: Compile of GCC-3.4 port fails on FreeBSD 4.11 --- Help? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: russo@bogodyn.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 16:20:44 -0000 I've been having trouble with ports on FreeBSD 4.11 lately, as more and more of them seem to want gcc 3.4 --- but I can't get gcc-3.4 to build. Here's what I get when I attempt to make gcc 3.4: [...] cc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE -I/usr/local/include -I. -I. -I.././..//gcc-3.4-20050128/gcc -I.././..//gcc-3.4-20050128/gcc/. -I.././..//gcc-3.4-20050128/gcc/../include insn-conditions.c In file included from insn-conditions.c:30: ../../gcc-3.4-20050128/gcc/output.h:122: syntax error before `ATTRIBUTE_NONNULL' In file included from insn-conditions.c:34: ../../gcc-3.4-20050128/gcc/toplev.h:57: syntax error before `ATTRIBUTE_NONNULL' ../../gcc-3.4-20050128/gcc/toplev.h:61: syntax error before `ATTRIBUTE_NONNULL' ../../gcc-3.4-20050128/gcc/toplev.h:65: syntax error before `ATTRIBUTE_NONNULL' ../../gcc-3.4-20050128/gcc/toplev.h:74: syntax error before `ATTRIBUTE_NONNULL' ../../gcc-3.4-20050128/gcc/toplev.h:75: syntax error before `ATTRIBUTE_NONNULL' gmake[2]: *** [insn-conditions.o] Error 1 gmake[2]: Leaving directory `/sandbox/ports/lang/gcc34/work/build/gcc' gmake[1]: *** [stage1_build] Error 2 gmake[1]: Leaving directory `/sandbox/ports/lang/gcc34/work/build/gcc' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 Stop in /sandbox/ports/lang/gcc34. My system is FreeBSD 4.11-STABLE, last updated on 24 Jan, and my ports tree was last updated on 4 Feb. Prior to 24 Jan I had been running a much older FreeBSD 4.9. I only updated it then because I was hoping the update would fix this very same gcc-3.4 problem, and it didn't. Has anyone else had a problem building gcc-3.4 on FreeBSD 4.11? I see nothing in the -questions or -ports archives about it, and google gave me nothing. -- Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/ Tijeras, NM QRPL#1592 K2#398 SOC#236 AHTB#1 "The only thing you can do easily is be wrong, and that's hardly worth the effort." -- Norton Juster