emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48116: closed (Problems when cross-compiling native-comp)


From: GNU bug Tracking System
Subject: bug#48116: closed (Problems when cross-compiling native-comp)
Date: Wed, 07 Jun 2023 21:39:02 +0000

Your message dated Wed, 07 Jun 2023 17:38:45 -0400
with message-id <yp18rcv9cm2.fsf_-_@fencepost.gnu.org>
and subject line Re: bug#48116: Problems when cross-compiling native-comp
has caused the debbugs.gnu.org bug report #48116,
regarding Problems when cross-compiling native-comp
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
48116: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=48116
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Headers presents but unusable Date: Fri, 30 Apr 2021 12:30:41 +0200
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

Attachment: bug_report.tar
Description: Binary data


--- End Message ---
--- Begin Message --- Subject: Re: bug#48116: Problems when cross-compiling native-comp Date: Wed, 07 Jun 2023 17:38:45 -0400 User-agent: Gnus/5.13 (Gnus v5.13)
Andrea Corallo <akrl@sdf.org> writes:

> Anatole Dahan <dahan@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



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]