From owner-freebsd-ports@FreeBSD.ORG Tue Mar 20 20:21:40 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CABC816A401 for ; Tue, 20 Mar 2007 20:21:40 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id B81B013C4CE for ; Tue, 20 Mar 2007 20:21:40 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 97BBE1A3C19; Tue, 20 Mar 2007 13:21:40 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D2B23515E6; Tue, 20 Mar 2007 16:21:39 -0400 (EDT) Date: Tue, 20 Mar 2007 16:21:39 -0400 From: Kris Kennaway To: Jeremy Messenger Message-ID: <20070320202139.GA16688@xor.obsecurity.org> References: <20070320171622.GA12902@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-ports@freebsd.org, Kris Kennaway Subject: Re: [ports-amd64@pointyhat.freebsd.org: linuxdcpp-0.0.1.20070206 failed on amd64 7] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2007 20:21:40 -0000 On Tue, Mar 20, 2007 at 02:55:09PM -0500, Jeremy Messenger wrote: > On Tue, 20 Mar 2007 12:16:22 -0500, Kris Kennaway > wrote: > > >Dear Maintainer, > > > >As you may know, in the near future FreeBSD 7.x will be switching from > >the gcc 3.4 compiler to gcc 4.x. Unfortunately your port fails to > >build with the new compiler; see the log below. > > > >To ease the disruption to users and to avoid further work later on, > >can you please work (with the upstream developers if necessary) on > >fixing this error? > > > >In many cases it requires only simple code changes, and these may > >already have been submitted to the developers by other projects > >(thesedays many Linux distributions use gcc 4.1, so chances are they > >have fixed the error already), or the patches may be found in their > >package repositories. > > > >You should be able to reproduce it yourself simply by installing the > >lang/gcc41 port and then setting the variables > > > > CC=/usr/local/bin/gcc41 > > CXX=/usr/local/bin/g++41 > > > >in your environment (Note: some ports do not respect these variables > >currently, but this is another bug that should be fixed). > > I can't reproduce it. Any idea why I can't? Thanks. > > # pkg_info | grep gcc > gcc-4.1.3_20070312 GNU Compiler Collection 4.1 > # make -DGCC4 > ===> Extracting for linuxdcpp-0.0.1.20070206 > => MD5 Checksum OK for linuxdcpp-0.0.1.20070206.tar.bz2. > => SHA256 Checksum OK for linuxdcpp-0.0.1.20070206.tar.bz2. > [...] > ===> Building for linuxdcpp-0.0.1.20070206 > scons: Reading SConscript files ... > Checking for /usr/local/bin/g++41 >= 3.4...(cached) yes > [...] > scons: Building targets ... > /usr/local/bin/g++41 -o build/client/AdcCommand.o -c -O2 > -fno-strict-aliasing -pipe -g -I. -I/usr/local/include -I. -D_GNU_SOURCE > -D_FILE_OFFSET_BITS=64 -DICONV_CONST=const -D_DATADIR='"/usr/local/share"' > client/AdcCommand.cpp > /usr/local/bin/g++41 -o build/client/AdcHub.o -c -O2 -fno-strict-aliasing > -pipe -g -I. -I/usr/local/include -I. -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 > -DICONV_CONST=const -D_DATADIR='"/usr/local/share"' client/AdcHub.cpp > /usr/local/bin/g++41 -o build/client/ADLSearch.o -c -O2 > -fno-strict-aliasing -pipe -g -I. -I/usr/local/include -I. -D_GNU_SOURCE > -D_FILE_OFFSET_BITS=64 -DICONV_CONST=const -D_DATADIR='"/usr/local/share"' > client/ADLSearch.cpp > [...goes on without failure...] Is this on amd64? Kris