From: "Ludovic Courtès" <ludo@gnu.org>
To: Mathieu Othacehe <m.othacehe@gmail.com>
Cc: 36882@debbugs.gnu.org
Subject: bug#36882: Qemu 4.2.0 build for x86_64-linux fails
Date: Wed, 26 Feb 2020 21:55:50 +0100 [thread overview]
Message-ID: <874kvdcbl5.fsf@gnu.org> (raw)
In-Reply-To: <874kveafns.fsf@gmail.com> (Mathieu Othacehe's message of "Tue, 25 Feb 2020 15:46:15 +0100")
Hi,
Mathieu Othacehe <m.othacehe@gmail.com> skribis:
> About the environment issue, we have the same problem on master. You can
> run the following command:
>
> ./pre-inst-env guix environment -C -e '(@@ (gnu packages commencement)
> coreutils-final)' -- echo -e '#include <stdint.h>\n int main() {return
> 0;}' > test.c && gcc -m16 -ffreestanding test.c
>
>
> and see that in takes stdint.h from the profile glibc header:
>
> In file included from /gnu/store/nl6zndkx4115laq50qmqcvnzinfz5rk0-profile/include/features.h:474:0,
> from /gnu/store/nl6zndkx4115laq50qmqcvnzinfz5rk0-profile/include/bits/libc-header-start.h:33,
> from /gnu/store/nl6zndkx4115laq50qmqcvnzinfz5rk0-profile/include/stdint.h:26,
> from test.c:1:
> /gnu/store/nl6zndkx4115laq50qmqcvnzinfz5rk0-profile/include/gnu/stubs.h:7:11: fatal error: gnu/stubs-32.h: No such file or directory
> # include <gnu/stubs-32.h>
> ^~~~~~~~~~~~~~~~
Indeed.
> So if it's ok for you, I'll try to implement a GCC hack so that we can
> keep using C_INCLUDE_PATH on core-updates and have QEMU building, as you
> proposed.
>
> About the environment use-case, it's getting really tricky, but as it is
> not a regression, we can maybe postpone the resolution.
Yes, both make sense to me.
>> Incidentally, do we have problems building anything other than QEMU?
>
> I don't know, but potentially any program building with -m<something>
> and -ffreestanding fails on core-updates.
The evil idea I was getting at was that, if that’s just a couple of
packages, we can fix them locally. Evil plan in case the better hack
turns out to be tricky. :-)
Ludo’.
next prev parent reply other threads:[~2020-02-26 20:57 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-31 20:03 bug#36882: QEMU 4 fails to build for x86_64-linux Leo Famulari
2019-08-01 14:14 ` Marius Bakke
2019-08-23 12:58 ` Ludovic Courtès
2020-02-21 11:09 ` bug#36882: Qemu 4.2.0 build for x86_64-linux fails Mathieu Othacehe
2020-02-21 20:29 ` Ludovic Courtès
2020-02-22 19:13 ` Mathieu Othacehe
2020-02-23 11:32 ` Ludovic Courtès
2020-02-24 9:36 ` Mathieu Othacehe
2020-02-24 14:25 ` Ludovic Courtès
2020-02-25 14:34 ` Mathieu Othacehe
2020-02-25 14:46 ` Mathieu Othacehe
2020-02-26 20:55 ` Ludovic Courtès [this message]
2020-03-02 22:01 ` Marius Bakke
2020-03-03 7:39 ` Mathieu Othacehe
2020-03-03 11:55 ` Mathieu Othacehe
2020-03-03 20:26 ` Marius Bakke
2020-03-03 20:37 ` Marius Bakke
2020-03-03 21:09 ` Jan (janneke) Nieuwenhuizen
2020-03-04 8:16 ` Mathieu Othacehe
2020-03-05 16:36 ` Ludovic Courtès
2020-03-05 16:42 ` Marius Bakke
2020-03-06 7:25 ` Mathieu Othacehe
2020-02-26 21:12 ` Marius Bakke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874kvdcbl5.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=36882@debbugs.gnu.org \
--cc=m.othacehe@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.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.