Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2007 16:53:29 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Jeremy Messenger <mezz7@cox.net>
Cc:        freebsd-ports@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: [ports-amd64@pointyhat.freebsd.org: linuxdcpp-0.0.1.20070206 failed on amd64 7]
Message-ID:  <20070321205328.GA58453@xor.obsecurity.org>
In-Reply-To: <op.tpj1f5n99aq2h7@mezz.mezzweb.com>
References:  <20070320171622.GA12902@xor.obsecurity.org> <op.tph6x7d79aq2h7@mezz.mezzweb.com> <20070320202139.GA16688@xor.obsecurity.org> <op.tpj1f5n99aq2h7@mezz.mezzweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 21, 2007 at 02:51:31PM -0500, Jeremy Messenger wrote:
> On Tue, 20 Mar 2007 15:21:39 -0500, Kris Kennaway <kris@obsecurity.org>  
> wrote:
> 
> >On Tue, Mar 20, 2007 at 02:55:09PM -0500, Jeremy Messenger wrote:
> >>On Tue, 20 Mar 2007 12:16:22 -0500, Kris Kennaway <kris@obsecurity.org>
> >>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?
> 
> No, it's 6.2-STABLE i386. I guess, I can mark it as broken on 7.x amd64.

Well it's only broken with the non-imported compiler, so if you're
going to go the "mark broken" route then please wait for the import.
And also talk to the developers of course.

Kris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070321205328.GA58453>