* Build Failure on 64 bit Fedora 21
@ 2015-03-21 22:00 Martin Fouts
0 siblings, 0 replies; only message in thread
From: Martin Fouts @ 2015-03-21 22:00 UTC (permalink / raw)
To: crossgcc
Symptom:
Ld cannot find libc during check to see if gcc can compile a statically
linked program.
Explanation:
When running ./ct-ng build the error below appears in the log and the build
terminates.
On Fedora 21, at least on 64 bit systems, the static libraries are not
installed by default.
Status:
UNCONFIRMED (I assume that's what a first report should be marked as.)
Fix:
Uncertain. Perhaps modifying the error handling for the test to see if the
error is a missing library and clarifying that it appears static libraries
are not installed?
Workaround:
Install the static libraries. Actually, this is part of the fix as well. I
only marked it as a workaround because I think the scripts could be made
more robust in addition.
To install:
sudo yum install glibc-static
The actual error report:
[ERROR] collect2: error: ld returned 1 exit status
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Checking that gcc can compile a trivial
statically linked program (CT_WANTS_STATIC_LINK)'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@257]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@546]
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-03-21 22:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-21 22:00 Build Failure on 64 bit Fedora 21 Martin Fouts
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 read-only IMAP folder(s) and NNTP newsgroup(s).