From: Wei Liu <wei.liu2@citrix.com>
To: John Thomson <john@johnthomson.fastmail.com.au>,
Xen-devel <xen-devel@lists.xenproject.org>
Cc: Wei Liu <wei.liu2@citrix.com>
Subject: Re: [Xen-users] Error compiling Xen in configuring stubdom/gmp with glibc-2.23 on Arch Linux
Date: Wed, 9 Mar 2016 13:35:17 +0000 [thread overview]
Message-ID: <20160309133517.GC2589@citrix.com> (raw)
In-Reply-To: <1457311127.3237075.541322218.485CFC99@webmail.messagingengine.com>
graft 53 !
thanks
Post this message to xen-devel so that bug tracker can pick it up.
On Mon, Mar 07, 2016 at 10:38:47AM +1000, John Thomson wrote:
> Hi,
>
> I am encountering an error compiling Xen (4.6.1) in configuring
> stubdom/gmp on x86_64 Arch Linux.
> I think it may be due to the system's glibc-2.23. System gcc is 5.3.0.
> Compiling was working fine before these system packages were updated.
> Other packages were updated at the same time, so I am not sure which to
> blame.
>
> Error:
> checking size of unsigned short... configure: error: cannot compute
> sizeof (unsigned short)
> See `config.log' for more details.
> Makefile:170: recipe for target 'gmp-x86_64' failed
> make[1]: *** [gmp-x86_64] Error 77
>
> Analysing the error in the configure test program, ferror after fprintf
> always returns 1.
> The program still appears to function as intended, and outputs the
> unsigned short size to conftest.val.
> Appending a clearerr(f) after the fprintf (f, ...) calls appears to
> workaround.
>
> When compiling the test program using system includes and libraries,
> ferror returns 0.
>
> My guess is that this may be due to using newlib cross-root includes and
> the system’s glibc libraries.
> I have not yet worked out how to resolve this. I have not been able to
> work out how to use -nostdlib and the cross-root libraries. I get errors
> for undefined functions.
> Could I get some help resolving this, or where can I go from here?
>
> The source for the configure test program and the gcc command configure
> used to compile should be here:
> https://gitlab.com/johnth/aur-xen/issues/1
>
> NixOS also appears to have run into this error:
> https://github.com/NixOS/nixpkgs/issues/13590
>
> Thank you,
> --
> John Thomson
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xen.org
> http://lists.xen.org/xen-users
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-03-09 13:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1457311127.3237075.541322218.485CFC99@webmail.messagingengine.com>
[not found] ` <20160309132218.GA2589@citrix.com>
2016-03-09 13:30 ` Processed: Re: [Xen-users] Error compiling Xen in configuring stubdom/gmp with glibc-2.23 on Arch Linux xen
2016-03-09 13:35 ` Wei Liu [this message]
2016-03-09 13:45 ` xen
[not found] ` <20160307114655.GC31294@citrix.com>
[not found] ` <20161031113932.GV30231@citrix.com>
2016-10-31 11:45 ` xen
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=20160309133517.GC2589@citrix.com \
--to=wei.liu2@citrix.com \
--cc=john@johnthomson.fastmail.com.au \
--cc=xen-devel@lists.xenproject.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).