GNU bug report logs -
#48116
Problems when cross-compiling native-comp
Previous Next
Reported by: Anatole Dahan <dahan <at> imj-prg.fr>
Date: Fri, 30 Apr 2021 11:35:01 UTC
Severity: normal
Done: Andrea Corallo <acorallo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#48116: Problems when cross-compiling native-comp
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 48116 <at> debbugs.gnu.org.
--
48116: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=48116
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Andrea Corallo <akrl <at> sdf.org> writes:
> Anatole Dahan <dahan <at> imj-prg.fr> writes:
>
>> Hi,
>>
>> I have encountered errors while configuring emacs, and I was told to send a bug report here. You will find my config.log attached, together with my environment variables.
>>
>> For context, I am trying to cross-compile native-compilation. I guess
>> this might not be supported, as libgccjit makes it quite complicated
>> (I didn’t yet find a way to bypass the smoke test). I have built the
>> NATIVE libgccjit for i586-linux-musl (maybe I am wrong about that ?)
>>
>> Anyway, both sys/inotify.h and libgccjit.h are present, but they are
>> marked as missing because they can’t be used (which seems legit, at
>> least for libgccjit, since it is built for native
>> i586-linux-musl). From what I understood, this is considered a bug.
>>
>> Best,
>> —Anatole Dahan
>
> Hi Anatole,
>
> generally speaking we do not support cross compilation using the native
> build as libgccjit AFAIK is just not made for cross compiling. I
> suspect in your specific case this should be possible with some hacking
> but coming to the problem of bypassing the smoke test I think the
> easiest is to start with is commenting it out from configure.ac.
Closing this old bug as, as mentioned, we (and libgccjit as well) don't
support cross native compiled builds.
Best Regards
Andrea
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
Hi,
I have encountered errors while configuring emacs, and I was told to send a bug report here. You will find my config.log attached, together with my environment variables.
For context, I am trying to cross-compile native-compilation. I guess this might not be supported, as libgccjit makes it quite complicated (I didn’t yet find a way to bypass the smoke test). I have built the NATIVE libgccjit for i586-linux-musl (maybe I am wrong about that ?)
Anyway, both sys/inotify.h and libgccjit.h are present, but they are marked as missing because they can’t be used (which seems legit, at least for libgccjit, since it is built for native i586-linux-musl). From what I understood, this is considered a bug.
Best,
—Anatole Dahan
[bug_report.tar (application/octet-stream, attachment)]
[Message part 6 (text/plain, inline)]
This bug report was last modified 1 year and 350 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.