From owner-freebsd-current@FreeBSD.ORG Wed Jul 9 18:02:24 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 D9EF337B401 for ; Wed, 9 Jul 2003 18:02:24 -0700 (PDT) Received: from titan.kgt.co.jp (titan.kgt.co.jp [210.141.246.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6C4843F3F for ; Wed, 9 Jul 2003 18:02:21 -0700 (PDT) (envelope-from haro@kgt.co.jp) Received: from navgw.tt.kgt.co.jp (navgw.kgt.co.jp [210.141.246.71]) by titan.kgt.co.jp (Postfix) with ESMTP id 62F146406B; Thu, 10 Jul 2003 10:02:20 +0900 (JST) Received: from tt.kgt.co.jp (pegasus [192.168.10.1]) by navgw.tt.kgt.co.jp (Postfix) with ESMTP id 418E947711; Thu, 10 Jul 2003 10:02:20 +0900 (JST) Received: from localhost [192.168.15.205] by tt.kgt.co.jp with ESMTP (SMTPD32-7.12) id AB1D3510142; Thu, 10 Jul 2003 10:02:21 +0900 Date: Thu, 10 Jul 2003 10:02:19 +0900 (JST) Message-Id: <20030710.100219.74757246.haro@kgt.co.jp> To: ak03@gte.com From: Munehiro Matsuda In-Reply-To: <20030709170956.621dc901.ak03@gte.com> References: <20030709170956.621dc901.ak03@gte.com> X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: current@FreeBSD.ORG Subject: Re: The upcoming GCC 3.3+ upgrade 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: Thu, 10 Jul 2003 01:02:25 -0000 From: Alexander Kabaev Date: Wed, 9 Jul 2003 17:09:56 -0400 ::Hello everyone, :: ::Since GCC 3.2.x branch is closed in FSF repository and no further ::releases are planned off the 3.2 branch, it was decided that switching ::to a more recent and actively maintained GCC 3.3+ is necessary. The ::system compiler upgrade is in 5.2 TODO list. :: ::GCC 3.3+ will be a system compiler throughout RELENG_5 lifetime. :: ::Unfortunately, importing a newer GCC means that we'll have yet another ::ABI breakage on our hands. GCC 3.3 is more strict in C++ area and ::consequently some of the code that used to be OK with 3.2 will no ::longer compile. All C++ and C programs using old varargs.h interface ::will have to be changed to use stdarg.h instead. GCC 3.3 issues a lot ::more warnings and that will affect programs which were previously ::WARNS-free. I will commit fixes for most of the warnings in src tree ::when a new compiler will be imported. Exceptions are some contributed ::sources and the kernel. Warnings in contributed programs should be fixed ::in upstream sources and kernel warnings will need attention of people ::who know each respective kernel part better than me. I plan to disable ::-Werror for kernel for now. Once offending warnings are fixed, -Werror ::will be switched back on. Hi, Thanks for doing the hard work. While you go fixing things for gcc3.3, can you also fix sys/endian.h which is broken even with g++3.2? See following URL for more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=184918+0+archive/2003/freebsd-hackers/20030622.freebsd-hackers This is one of the things that are getting in way for JDK1.3.1, with source from FreeBSD Java Repository, to be compile on 5.1-CURRENT/-RELEASE. :-( Thanks, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Internet Solution Dept., Kubota Graphics Technologies Inc. /|\ |_| |_|_| 2-8-8 Shinjuku Shinjuku-ku Tokyo 160-0022, Japan Tel: +81-3-3225-0767 Fax: +81-3-3225-0740 Email: haro@kgt.co.jp