unbound compilation issue rpi

Paul Mather paul at gromit.dlib.vt.edu
Thu Aug 29 12:45:42 UTC 2013


On Aug 29, 2013, at 3:36 AM, Aurelien Martin <01aurelien at 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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
> 



More information about the freebsd-arm mailing list