machine/acle-compat.h missing

Jukka Ukkonen jau789 at gmail.com
Tue Oct 13 05:32:41 UTC 2015


Quite recently the 11.x builds using clang 3.4.1 started giving me trouble.
If I remember correctly, the older clang had problems with the more
recent clang source. So, after browsing the UPDATING file a little I found
a note there explaining how the clang source in 11.x now needs at least
clang 3.5 to compile. That is how I ended up overriding CC and CXX.
Then started the problems with acle-compat.h. 
I guess the dilemma is twofold. Is this file really used at all? If so, why
does it not appear where it is expected to be found? If not really used,
is it included in error when I override the compiler?

I guess the problem might not happen when compiling on the rpi2 itself
or on another 11.x system. In fact I am going to update the source on
the rpi2 and launch a test build locally on the target later today.
The local builds on rpi2 just take some 11 hours or so. Obviously I run
those very rarely.

--jau


Sent from my iPad

> On 13 Oct 2015, at 06:34, Tim Kientzle <tim at kientzle.com> wrote:
> 
> Do you get the same problem if you do not override CC and CXX?
> 
> I’ve never needed to set those.
> 
> Tim
> 
> 
>> On Oct 12, 2015, at 7:29 PM, jau789 at gmail.com wrote:
>> 
>> The build environment is amd64 running 10-stable.
>> The native cc is obviously clang 3.4.1.
>> The build target in has been rpi2.
>> To make current build possible at all CC and CXX
>> are set to clang37 and clang++37 during the make
>> run.
>> 
>> --jau
>>> On 13/10/2015 2:29 John-Mark Gurney wrote:
>>> Jukka Ukkonen wrote this message on Mon, Oct 12, 2015 at 08:50 +0300:
>>> After the latest clang update in current cross-compilation for arm
>>> has been failing due to "missing"
>> 
>> Do you mean armeb? or what specific arch?
>> 
>>> <machine/acle-compat.h>
>>> 
>>> The file is apparently present...
>>> 
>>> src.head/sys/arm/include/acle-compat.h
>>> 
>>> but the compiler fails to find it because for some reason it
>>> never gets copied to the path where the compiler expects to
>>> find it...
>>> 
>>> /tank/fish/jau/Xcomp/src.head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/libunwind.S:29:10:
>>> fatal error: 'machine/acle-compat.h' file not found
>>> #include <machine/acle-compat.h>
>>>       ^
>>> 1 error generated.
>>> *** [libunwind.o] Error code 1
>>> 
>>> Has anyone else noticed this, or is it just me doing something
>>> odd?
>> 
>> Are you using gcc, or the default of clang now?
>> 
>> -- 
>> John-Mark Gurney                Voice: +1 415 225 5579
>> 
>>   "All that I will do, has been done, All that I have, has not."
>> 
>> _______________________________________________
>> freebsd-arm at freebsd.org mailing list
>> https://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