From: stephen Turner <stephen.n.turner@gmail.com>
To: musl@lists.openwall.com
Subject: libgcc errors
Date: Tue, 7 Oct 2014 14:54:33 -0400 [thread overview]
Message-ID: <CAA7aPHjVwmgupw0NcgKvZof69hqFCvrY8f-wocWD4ZSpuin1aQ@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 6845 bytes --]
Previously i emailed about an issue i was having with no response. I
rebuilt the cross toolchain with the latest versions and switched from 3.X
to 2.6 kernel headers to try to work around the issue but still get the
same error compiling libgcc of which now it points to a config.log. I
pulled that log and here is the part leading up to the error, if you want
the rest or anything else please let me know.
Im trying to find out why after using the musl patch and specifying
--target or --host=i686-linux-musl I recieve this issue compiling libgcc,
This only happens if i specify the host or target as musl.
I appreciate any help you can provide.
It was created by GNU C Runtime Library configure 1.0, which was
generated by GNU Autoconf 2.64. Invocation command line was
$ /root/code/gcc/libgcc/configure --cache-file=./config.cache
--with-cross-host=i686-pc-linux-gnu --prefix=/root/targetfs
--disable-bootstrap --disable-multilib --disable-shared --disable-nls
--disable-mudflap --disable-libmudflap --disable-libssp --disable-libgomp
--with-newlib --without-headers --with-sysroot=/root/targetfs/
--enable-languages=c,lto --program-transform-name=s&^&i686-linux-musl-&
--disable-option-checking --with-target-subdir=i686-linux-musl
--build=i686-pc-linux-gnu --host=i686-linux-musl --target=i686-linux-musl
--srcdir=../../../gcc/libgcc
## --------- ##
## Platform. ##
## --------- ##
hostname = debian
uname -m = i686
uname -r = 3.2.0-4-686-pae
uname -s = Linux
uname -v = #1 SMP Debian 3.2.60-1+deb7u3
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1980: creating cache ./config.cache
configure:2163: checking build system type
configure:2177: result: i686-pc-linux-gnu
configure:2197: checking host system type
configure:2210: result: i686-pc-linux-musl
configure:2307: checking for --enable-version-specific-runtime-libs
configure:2320: result: no
configure:2368: checking for a BSD-compatible install
configure:2436: result: /usr/bin/install -c
configure:2452: checking for gawk
configure:2479: result: mawk
configure:2579: checking for i686-linux-musl-ar
configure:2606: result: i686-linux-musl-ar
configure:2671: checking for i686-linux-musl-lipo
configure:2698: result: i686-linux-musl-lipo
configure:2763: checking for i686-linux-musl-nm
configure:2790: result: /root/code/gcc-build/./gcc/nm
configure:2855: checking for i686-linux-musl-ranlib
configure:2882: result: i686-linux-musl-ranlib
configure:2947: checking for i686-linux-musl-strip
configure:2974: result: i686-linux-musl-strip
configure:3036: checking whether ln -s works
configure:3040: result: yes
configure:3057: checking for i686-linux-musl-gcc
configure:3084: result: /root/code/gcc-build/./gcc/xgcc
-B/root/code/gcc-build/./gcc/ -B/root/targetfs/i686-linux-musl/bin/
-B/root/targetfs/i686-linux-musl/lib/ -isystem
/root/targetfs/i686-linux-musl/include -isystem
/root/targetfs/i686-linux-musl/sys-include
configure:3353: checking for C compiler version
configure:3362: /root/code/gcc-build/./gcc/xgcc
-B/root/code/gcc-build/./gcc/ -B/root/targetfs/i686-linux-musl/bin/
-B/root/targetfs/i686-linux-musl/lib/ -isystem
/root/targetfs/i686-linux-musl/include -isystem
/root/targetfs/i686-linux-musl/sys-include --version >&5
xgcc (GCC) 4.9.0
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3373: $? = 0
configure:3362: /root/code/gcc-build/./gcc/xgcc
-B/root/code/gcc-build/./gcc/ -B/root/targetfs/i686-linux-musl/bin/
-B/root/targetfs/i686-linux-musl/lib/ -isystem
/root/targetfs/i686-linux-musl/include -isystem
/root/targetfs/i686-linux-musl/sys-include -v >&5
Reading specs from /root/code/gcc-build/./gcc/specs
COLLECT_GCC=/root/code/gcc-build/./gcc/xgcc
COLLECT_LTO_WRAPPER=/root/code/gcc-build/./gcc/lto-wrapper
Target: i686-linux-musl
Configured with: ../gcc/configure --prefix=/root/targetfs
--enable-languages=c --disable-bootstrap --disable-multilib
--disable-shared --disable-nls --disable-mudflap --disable-libmudflap
--disable-libssp --disable-libgomp --with-newlib --without-headers
--target=i686-linux-musl --with-sysroot=/root/targetfs/
Thread model: posix
gcc version 4.9.0 (GCC)
configure:3373: $? = 0
configure:3362: /root/code/gcc-build/./gcc/xgcc
-B/root/code/gcc-build/./gcc/ -B/root/targetfs/i686-linux-musl/bin/
-B/root/targetfs/i686-linux-musl/lib/ -isystem
/root/targetfs/i686-linux-musl/include -isystem
/root/targetfs/i686-linux-musl/sys-include -V >&5
xgcc: error: unrecognized command line option '-V'
xgcc: fatal error: no input files
compilation terminated.
configure:3373: $? = 1
configure:3362: /root/code/gcc-build/./gcc/xgcc
-B/root/code/gcc-build/./gcc/ -B/root/targetfs/i686-linux-musl/bin/
-B/root/targetfs/i686-linux-musl/lib/ -isystem
/root/targetfs/i686-linux-musl/include -isystem
/root/targetfs/i686-linux-musl/sys-include -qversion >&5
xgcc: error: unrecognized command line option '-qversion'
xgcc: fatal error: no input files
compilation terminated.
configure:3373: $? = 1
configure:3389: /root/code/gcc-build/./gcc/xgcc
-B/root/code/gcc-build/./gcc/ -B/root/targetfs/i686-linux-musl/bin/
-B/root/targetfs/i686-linux-musl/lib/ -isystem
/root/targetfs/i686-linux-musl/include -isystem
/root/targetfs/i686-linux-musl/sys-include -o conftest -g -O2
conftest.c >&5
/root/code/gcc-build/./gcc/as: 106: exec: --32: not found
configure:3392: $? = 1
configure:3580: checking for suffix of object files
configure:3602: /root/code/gcc-build/./gcc/xgcc
-B/root/code/gcc-build/./gcc/ -B/root/targetfs/i686-linux-musl/bin/
-B/root/targetfs/i686-linux-musl/lib/ -isystem
/root/targetfs/i686-linux-musl/include -isystem
/root/targetfs/i686-linux-musl/sys-include -c -g -O2 conftest.c >&5
/root/code/gcc-build/./gcc/as: 106: exec: --32: not found
configure:3606: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3620: error: in `/root/code/gcc-build/i686-linux-musl/libgcc':
configure:3623: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
[-- Attachment #2: Type: text/html, Size: 8447 bytes --]
next reply other threads:[~2014-10-07 18:54 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-07 18:54 stephen Turner [this message]
2014-10-07 19:51 ` Szabolcs Nagy
2014-10-07 21:32 ` stephen Turner
2014-10-07 22:59 ` Samuel Holland
2014-10-09 12:13 ` Andrew Bradford
2014-10-09 14:46 ` stephen Turner
2014-10-09 15:49 ` stephen Turner
2014-10-09 19:38 ` Samuel Holland
2014-10-09 21:08 ` stephen Turner
2014-10-09 21:43 ` Samuel Holland
2014-10-09 21:55 ` stephen Turner
2014-10-09 22:17 ` stephen Turner
2014-10-10 21:01 ` stephen Turner
2014-10-10 21:21 ` Rich Felker
2014-10-10 21:28 ` Samuel Holland
2014-10-10 21:30 ` Samuel Holland
2014-10-16 17:35 ` stephen Turner
2014-10-09 22:04 ` writeonce
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=CAA7aPHjVwmgupw0NcgKvZof69hqFCvrY8f-wocWD4ZSpuin1aQ@mail.gmail.com \
--to=stephen.n.turner@gmail.com \
--cc=musl@lists.openwall.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 public inbox
https://git.vuxu.org/mirror/musl/
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).