From owner-freebsd-current@FreeBSD.ORG Fri Aug 22 16:59:26 2003 Return-Path: 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 0687316A4C0; Fri, 22 Aug 2003 16:59:26 -0700 (PDT) Received: from motgate3.mot.com (motgate3.mot.com [144.189.100.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DA5043FBF; Fri, 22 Aug 2003 16:59:24 -0700 (PDT) (envelope-from rittle@latour.rsch.comm.mot.com) Received: from il06exr01.mot.com (il06exr01.mot.com [129.188.137.131]) by motgate3.mot.com (Motorola/Motgate3) with ESMTP id h7MNxNxf022605; Fri, 22 Aug 2003 16:59:23 -0700 (MST) Received: from latour.rsch.comm.mot.com (latour.rsch.comm.mot.com [145.1.80.116])h7MNxJLR010985; Fri, 22 Aug 2003 18:59:20 -0500 Received: from latour.rsch.comm.mot.com (localhost.rsch.comm.mot.com [127.0.0.1])h7MNxKVh066362; Fri, 22 Aug 2003 18:59:20 -0500 (CDT) (envelope-from rittle@latour.rsch.comm.mot.com) Received: (from rittle@localhost) by latour.rsch.comm.mot.com (8.12.9/8.12.9/Submit) id h7MNxK1S066361; Fri, 22 Aug 2003 18:59:20 -0500 (CDT) Date: Fri, 22 Aug 2003 18:59:20 -0500 (CDT) From: Loren James Rittle Message-Id: <200308222359.h7MNxK1S066361@latour.rsch.comm.mot.com> To: current@freebsd.org References: <20030822025500.GA45883@freefall.freebsd.org> Organization: Networks and Infrastructure Lab (IL02/2240), Motorola Labs cc: kan@freebsd.org Subject: Re: GCC 3.3.1-RELEASE is coming X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2003 23:59:26 -0000 Alexander Kabaev wrote: >> I am about to import an official GCC 3.3.1-release into our >> source tree. Please hold your updates until 'all clear' message >> is posted. > Done. Alex, nice. Thank you for making -Wno-system-headers work in the system compiler (henceforth, users that want to compile C++ e.g. `-pedantic -Werror' should add that option for best results). Trying to consider how to best pull important differences back into the FSF tree. Will this be true for all FreeBSD systems going forward? < %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} --- > %{!dynamic-linker:-dynamic-linker /libexec/ld-elf.so.1}} BTW, it seems to be inconsistent for the various CPUs in the system compiler (e.g. missed in ia64). What is the official trigger point of the change in the system? Given the nature of the change, may I assume that a transition period exists during all of FreeBSD 5? Regarding this thunk, also in config/alpha/freebsd.h (not in FSF but in my mainline tree with a slightly less hostile comment): > #undef STARTFILE_SPEC > #define STARTFILE_SPEC \ > "%{!shared: \ > %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}}\ > crti.o%s %{shared:crtbeginS.o%s}%{!shared:crtbegin.o%s}" Pending a better reworking in the FSF tree to clarify what is strictly per-CPU vs. per-CPU/OS, that could be replaced with: /* Reset our STARTFILE_SPEC which was properly set in config/freebsd.h but trashed by config//. */ #undef STARTFILE_SPEC #define STARTFILE_SPEC FBSD_STARTFILE_SPEC In config/i386/freebsd.h we have a similar override (logically same but different format) which should be similarly replaced (or removed since it appears it may not be strictly needed there anymore). I will install patches in the FSF tree for these issues to both mainline and 3.3.X branch. Speaking of config/i386/freebsd.h, the difference against the FSF tree is quite large but most of it is not required anymore. The difference in all other config//freebsd.h files is only a line or two. If I proposed a /usr/src/contrib/gcc/ diff such that it produced the exact same system compiler yet was the smallest delta from the FSF tree, would you be interested? I'd like to get that difference down to make it easiler to spot real differences going forward. Regards, Loren