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

next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 29, 2013, at 3:36 AM, Aurelien Martin <01aurelien@gmail.com> =
wrote:

> Hi Olivier,
>=20
> I did "make clean"
> http://pastebin.com/ki0c7MWf
>=20
> 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:

=3D=3D=3D=3D=3D
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
=3D=3D=3D=3D=3D

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=3Dgcc
CXX=3Dg++
CPP=3Dgcpp

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.

>=20
> The "make install" advice me to sent the following attachment to
> autotools@FreeBSD.org [maintainer]. Should I ?
>=20
> http://pastebin.com/JpyRFshY
>=20
> p.s: mailing list prefer pastebin log or attachment ?
>=20
> Aurelien
>=20
>=20
>=20
>=20
> On Wed, 2013-08-28 at 18:35 +0200, Olivier Houchard wrote:
>> Hi Aurelien,
>>=20
>> On Wed, Aug 28, 2013 at 05:51:53PM +0200, Aurelien Martin wrote:
>>> Dear all, my first in mailing list :)
>>>=20
>>> I have a compilation failure for "unbound" (gettext seems involved)
>>> http://pastebin.com/DUmVpZ5R=20
>>>=20
>>> rpi B with: FreeBSD raspberry-pi 10.0-CURRENT FreeBSD 10.0-CURRENT =
#84
>>> r252209M: Thu Jun 27 09:09:14 EDT 2013=20
>>>=20
>>> I already ask to #freebsd channel they advice me to modify my =
make.conf:
>>> CC=3Dgcc42=20
>>> CXX=3Dg++42=20
>>> CPP=3Dcpp42
>>>=20
>>=20
>> That should probably just be gcc, g++ and cpp.
>>=20
>>> But almost the same errors: http://pastebin.com/jstWRMSY
>>=20
>> Did you run make clean ? It seems it still tries to use clang as the =
compiler.
>>=20
>> Regards,
>>=20
>> Olivier
>=20
>=20
> _______________________________________________
> 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"
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D06B2271-2102-44E7-B0E2-04B9E48B5538>