* bug#48116: Headers presents but unusable
@ 2021-04-30 10:30 Anatole Dahan
2021-05-02 7:31 ` Lars Ingebrigtsen
2021-05-02 21:45 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
0 siblings, 2 replies; 4+ messages in thread
From: Anatole Dahan @ 2021-04-30 10:30 UTC (permalink / raw)
To: 48116
[-- Attachment #1: Type: text/plain, Size: 749 bytes --]
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 #2: bug_report.tar --]
[-- Type: application/octet-stream, Size: 268288 bytes --]
[-- Attachment #3: Type: text/plain, Size: 1 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#48116: Headers presents but unusable
2021-04-30 10:30 bug#48116: Headers presents but unusable Anatole Dahan
@ 2021-05-02 7:31 ` Lars Ingebrigtsen
2021-05-02 21:45 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
1 sibling, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2021-05-02 7:31 UTC (permalink / raw)
To: Anatole Dahan; +Cc: 48116, Andrea Corallo
Anatole Dahan <dahan@imj-prg.fr> writes:
> 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'm not sure whether this is supposed to be supported yet or not -- I've
added Andrea to the CCs.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#48116: Headers presents but unusable
2021-04-30 10:30 bug#48116: Headers presents but unusable Anatole Dahan
2021-05-02 7:31 ` Lars Ingebrigtsen
@ 2021-05-02 21:45 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-07 21:38 ` bug#48116: Problems when cross-compiling native-comp Andrea Corallo
1 sibling, 1 reply; 4+ messages in thread
From: Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-05-02 21:45 UTC (permalink / raw)
To: Anatole Dahan; +Cc: 48116
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.
Andrea
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#48116: Problems when cross-compiling native-comp
2021-05-02 21:45 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-06-07 21:38 ` Andrea Corallo
0 siblings, 0 replies; 4+ messages in thread
From: Andrea Corallo @ 2023-06-07 21:38 UTC (permalink / raw)
To: Andrea Corallo; +Cc: 48116-done, Anatole Dahan
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-06-07 21:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-30 10:30 bug#48116: Headers presents but unusable Anatole Dahan
2021-05-02 7:31 ` Lars Ingebrigtsen
2021-05-02 21:45 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-07 21:38 ` bug#48116: Problems when cross-compiling native-comp Andrea Corallo
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.