Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2013 17:01:35 +0200
From:      Aurelien Martin <01aurelien@gmail.com>
To:        Paul Mather <paul@gromit.dlib.vt.edu>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: unbound compilation issue rpi
Message-ID:  <1377788495.4692.2.camel@pandabook>
In-Reply-To: <D06B2271-2102-44E7-B0E2-04B9E48B5538@gromit.dlib.vt.edu>
References:  <1377705113.23901.8.camel@pandabook> <20130828163545.GA55072@ci0.org> <1377761762.6953.7.camel@pandabook> <D06B2271-2102-44E7-B0E2-04B9E48B5538@gromit.dlib.vt.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Paul,
Thanks for your feedback ! In deed with

> CC=gcc
> CXX=g++
> CPP=gcpp

It work like a charm !
As you can expect, I cannot reply for the compilator issue.

Have a nice day
Aurelien


On Thu, 2013-08-29 at 08:44 -0400, Paul Mather wrote:
> On Aug 29, 2013, at 3:36 AM, Aurelien Martin <01aurelien@gmail.com> wrote:
> 
> > Hi Olivier,
> > 
> > I did "make clean"
> > http://pastebin.com/ki0c7MWf
> > 
> > A new issue with "make install", it's seems related to gettext
> > http://pastebin.com/g9K6V6EQ
> 
> I'd say this snippet from the pastebin log is a big clue to your problem:
> 
> =====
> checking for gcc... gcc42
> checking whether the C compiler works... no
> configure: error: in `/usr/ports/devel/gettext/work/gettext-0.18.3/gettext-runtime':
> configure: error: C compiler cannot create executables
> =====
> 
> As someone else asked previously, why are you using gcc42 instead of the built-in gcc?  Is the gcc42 port known to work correctly on arm?
> 
> You might try this instead:
> 
> CC=gcc
> CXX=g++
> CPP=gcpp
> 
> I would have said the built-in compiler has a better track record of working than any other on FreeBSD/arm, but now I'm not sure that is even true with the move to EABI.  Does gcc on arm support EABI, or just clang?
> 
> The seas are mighty rough on FreeBSD/arm nowadays...
> 
> Cheers,
> 
> Paul.
> 
> > 
> > The "make install" advice me to sent the following attachment to
> > autotools@FreeBSD.org [maintainer]. Should I ?
> > 
> > http://pastebin.com/JpyRFshY
> > 
> > p.s: mailing list prefer pastebin log or attachment ?
> > 
> > Aurelien
> > 
> > 
> > 
> > 
> > On Wed, 2013-08-28 at 18:35 +0200, Olivier Houchard wrote:
> >> Hi Aurelien,
> >> 
> >> On Wed, Aug 28, 2013 at 05:51:53PM +0200, Aurelien Martin wrote:
> >>> Dear all, my first in mailing list :)
> >>> 
> >>> I have a compilation failure for "unbound" (gettext seems involved)
> >>> http://pastebin.com/DUmVpZ5R 
> >>> 
> >>> rpi B with: FreeBSD raspberry-pi 10.0-CURRENT FreeBSD 10.0-CURRENT #84
> >>> r252209M: Thu Jun 27 09:09:14 EDT 2013 
> >>> 
> >>> I already ask to #freebsd channel they advice me to modify my make.conf:
> >>> CC=gcc42 
> >>> CXX=g++42 
> >>> CPP=cpp42
> >>> 
> >> 
> >> That should probably just be gcc, g++ and cpp.
> >> 
> >>> But almost the same errors: http://pastebin.com/jstWRMSY
> >> 
> >> Did you run make clean ? It seems it still tries to use clang as the compiler.
> >> 
> >> Regards,
> >> 
> >> Olivier
> > 
> > 
> > _______________________________________________
> > freebsd-arm@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
> > 
> 





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