public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/28962] New: [4.0/4.1/4.2 regression] building a cross compiler with --disable-multilib fails
@ 2006-09-06 14:12 bunk at stusta dot de
2006-09-06 14:13 ` [Bug bootstrap/28962] " bunk at stusta dot de
` (8 more replies)
0 siblings, 9 replies; 11+ messages in thread
From: bunk at stusta dot de @ 2006-09-06 14:12 UTC (permalink / raw)
To: gcc-bugs
cd /TMP/build-gcc-svn20060906-powerpc64
/TMP/gcc-svn20060906/configure --target=powerpc64-linux
--prefix=/usr/local/DIR/gcc-powerpc64-svn20060906 --enable-languages=c
--with-as=/usr/local/bin/powerpc64-linux-as
--with-ld=/usr/local/bin/powerpc64-linux-ld --disable-shared
--enable-threads=single --disable-multilib
make
results in:
<-- snip -->
...
make[2]: Leaving directory `/TMP/build-gcc-svn20060906-powerpc64/gcc'
Checking multilib configuration for libmudflap...
mkdir -p -- powerpc64-linux/libmudflap
Configuring in powerpc64-linux/libmudflap
configure: creating cache ./config.cache
checking build system type... i686-pc-linux-gnu
checking host system type... powerpc64-unknown-linux-gnu
checking target system type... powerpc64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for powerpc64-linux-strip... powerpc64-linux-strip
checking for --enable-version-specific-runtime-libs... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for powerpc64-linux-gcc...
/TMP/build-gcc-svn20060906-powerpc64/./gcc/x
gcc -B/TMP/build-gcc-svn20060906-powerpc64/./gcc/
-B/usr/local/DIR/gcc-powerpc64
-svn20060906/powerpc64-linux/bin/
-B/usr/local/DIR/gcc-powerpc64-svn20060906/pow
erpc64-linux/lib/ -isystem
/usr/local/DIR/gcc-powerpc64-svn20060906/powerpc64-li
nux/include -isystem
/usr/local/DIR/gcc-powerpc64-svn20060906/powerpc64-linux/sy
s-include
checking for C compiler default output file name... configure: error: C
compiler
cannot create executables
See `config.log' for more details.
make[1]: *** [configure-target-libmudflap] Error 1
make[1]: Leaving directory `/TMP/build-gcc-svn20060906-powerpc64'
make: *** [all] Error 2
<-- snip -->
I can workaround this issue with "--disable-libmudflap --disable-libssp".
--
Summary: [4.0/4.1/4.2 regression] building a cross compiler with
--disable-multilib fails
Product: gcc
Version: 4.0.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bunk at stusta dot de
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: powerpc64-unknown-linux-gnu (and several others)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28962
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/28962] [4.0/4.1/4.2 regression] building a cross compiler with --disable-multilib fails
2006-09-06 14:12 [Bug bootstrap/28962] New: [4.0/4.1/4.2 regression] building a cross compiler with --disable-multilib fails bunk at stusta dot de
2006-09-06 14:13 ` [Bug bootstrap/28962] " bunk at stusta dot de
@ 2006-09-06 14:13 ` bunk at stusta dot de
2006-09-06 14:15 ` bunk at stusta dot de
` (6 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: bunk at stusta dot de @ 2006-09-06 14:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from bunk at stusta dot de 2006-09-06 14:13 -------
Created an attachment (id=12197)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12197&action=view)
configure log
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28962
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/28962] [4.0/4.1/4.2 regression] building a cross compiler with --disable-multilib fails
2006-09-06 14:12 [Bug bootstrap/28962] New: [4.0/4.1/4.2 regression] building a cross compiler with --disable-multilib fails bunk at stusta dot de
@ 2006-09-06 14:13 ` bunk at stusta dot de
2006-09-06 14:13 ` bunk at stusta dot de
` (7 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: bunk at stusta dot de @ 2006-09-06 14:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from bunk at stusta dot de 2006-09-06 14:13 -------
Created an attachment (id=12198)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12198&action=view)
make log
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28962
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/28962] [4.0/4.1/4.2 regression] building a cross compiler with --disable-multilib fails
2006-09-06 14:12 [Bug bootstrap/28962] New: [4.0/4.1/4.2 regression] building a cross compiler with --disable-multilib fails bunk at stusta dot de
2006-09-06 14:13 ` [Bug bootstrap/28962] " bunk at stusta dot de
2006-09-06 14:13 ` bunk at stusta dot de
@ 2006-09-06 14:15 ` bunk at stusta dot de
2006-09-06 14:20 ` bunk at stusta dot de
` (5 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: bunk at stusta dot de @ 2006-09-06 14:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from bunk at stusta dot de 2006-09-06 14:15 -------
Created an attachment (id=12199)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12199&action=view)
powerpc64-linux/libmudflap/config.log
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28962
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/28962] [4.0/4.1/4.2 regression] building a cross compiler with --disable-multilib fails
2006-09-06 14:12 [Bug bootstrap/28962] New: [4.0/4.1/4.2 regression] building a cross compiler with --disable-multilib fails bunk at stusta dot de
` (2 preceding siblings ...)
2006-09-06 14:15 ` bunk at stusta dot de
@ 2006-09-06 14:20 ` bunk at stusta dot de
2006-09-06 16:28 ` Andrew Pinski
2006-09-06 16:28 ` pinskia at physics dot uc dot edu
` (4 subsequent siblings)
8 siblings, 1 reply; 11+ messages in thread
From: bunk at stusta dot de @ 2006-09-06 14:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from bunk at stusta dot de 2006-09-06 14:19 -------
Note:
"checking host system type... powerpc64-unknown-linux-gnu" is obviously wrong
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28962
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/28962] [4.0/4.1/4.2 regression] building a cross compiler with --disable-multilib fails
2006-09-06 14:12 [Bug bootstrap/28962] New: [4.0/4.1/4.2 regression] building a cross compiler with --disable-multilib fails bunk at stusta dot de
` (3 preceding siblings ...)
2006-09-06 14:20 ` bunk at stusta dot de
@ 2006-09-06 16:28 ` pinskia at physics dot uc dot edu
2006-09-06 16:32 ` [Bug bootstrap/28962] " pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: pinskia at physics dot uc dot edu @ 2006-09-06 16:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at physics dot uc dot edu 2006-09-06 16:28 -------
Subject: Re: [4.0/4.1/4.2 regression] building a
cross compiler with --disable-multilib fails
On Wed, 2006-09-06 at 14:19 +0000, bunk at stusta dot de wrote:
>
> ------- Comment #4 from bunk at stusta dot de 2006-09-06 14:19 -------
> Note:
> "checking host system type... powerpc64-unknown-linux-gnu" is obviously wrong
No it is not.
-- Pinski
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28962
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Bug bootstrap/28962] [4.0/4.1/4.2 regression] building a cross compiler with --disable-multilib fails
2006-09-06 14:20 ` bunk at stusta dot de
@ 2006-09-06 16:28 ` Andrew Pinski
0 siblings, 0 replies; 11+ messages in thread
From: Andrew Pinski @ 2006-09-06 16:28 UTC (permalink / raw)
To: gcc-bugzilla; +Cc: gcc-bugs
On Wed, 2006-09-06 at 14:19 +0000, bunk at stusta dot de wrote:
>
> ------- Comment #4 from bunk at stusta dot de 2006-09-06 14:19 -------
> Note:
> "checking host system type... powerpc64-unknown-linux-gnu" is obviously wrong
No it is not.
-- Pinski
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/28962] building a cross compiler with --disable-multilib fails
2006-09-06 14:12 [Bug bootstrap/28962] New: [4.0/4.1/4.2 regression] building a cross compiler with --disable-multilib fails bunk at stusta dot de
` (4 preceding siblings ...)
2006-09-06 16:28 ` pinskia at physics dot uc dot edu
@ 2006-09-06 16:32 ` pinskia at gcc dot gnu dot org
2006-09-06 17:22 ` bunk at stusta dot de
` (2 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-06 16:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2006-09-06 16:32 -------
/usr/local/DIR/gcc-powerpc64-svn20060906/powerpc64-linux/sys-include -O2 -g -O2
conftest.c >&5
/usr/local/bin/powerpc64-linux-ld: crt1.o: No such file: No such file or
directory
collect2: ld returned 1 exit status
That means you don't have binutils/glibc installed correctly.
And this is not a regression anyways.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|4.0.3 4.1.1 4.2.0 |
Known to work|3.4.6 |
Summary|[4.0/4.1/4.2 regression] |building a cross compiler
|building a cross compiler |with --disable-multilib
|with --disable-multilib |fails
|fails |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28962
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/28962] building a cross compiler with --disable-multilib fails
2006-09-06 14:12 [Bug bootstrap/28962] New: [4.0/4.1/4.2 regression] building a cross compiler with --disable-multilib fails bunk at stusta dot de
` (5 preceding siblings ...)
2006-09-06 16:32 ` [Bug bootstrap/28962] " pinskia at gcc dot gnu dot org
@ 2006-09-06 17:22 ` bunk at stusta dot de
2006-09-13 6:23 ` pinskia at gcc dot gnu dot org
2008-12-28 21:30 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 11+ messages in thread
From: bunk at stusta dot de @ 2006-09-06 17:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from bunk at stusta dot de 2006-09-06 17:22 -------
I don't have a glibc for this target.
But this might be where my problems are coming from:
I am able to compile gcc 4.1.1 for at about a dozen targets without having any
libc for these targets present. And the resulting compilers work fine for my
purposes (cross-compiling Linux kernels).
But the configure options I had to figure out for doing this seem to indicate
that this is a working but not documented setup.
It seems sending a bug report for part of this wasn't the right solution.
Is there a good reason why gcc can't officially support being built without a
libc by either figuring out that there's no libc itself or by offering some
kind of --i-do-not-have-a-libc option to configure?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28962
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/28962] building a cross compiler with --disable-multilib fails
2006-09-06 14:12 [Bug bootstrap/28962] New: [4.0/4.1/4.2 regression] building a cross compiler with --disable-multilib fails bunk at stusta dot de
` (6 preceding siblings ...)
2006-09-06 17:22 ` bunk at stusta dot de
@ 2006-09-13 6:23 ` pinskia at gcc dot gnu dot org
2008-12-28 21:30 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-13 6:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from pinskia at gcc dot gnu dot org 2006-09-13 06:23 -------
(In reply to comment #7)
> Is there a good reason why gcc can't officially support being built without a
> libc by either figuring out that there's no libc itself or by offering some
> kind of --i-do-not-have-a-libc option to configure?
Yes because you are configuring wrong in the first place.
Try looking at what crosstool does for how to build a cross compiler.
http://kegel.com/crosstool/
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28962
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/28962] building a cross compiler with --disable-multilib fails
2006-09-06 14:12 [Bug bootstrap/28962] New: [4.0/4.1/4.2 regression] building a cross compiler with --disable-multilib fails bunk at stusta dot de
` (7 preceding siblings ...)
2006-09-13 6:23 ` pinskia at gcc dot gnu dot org
@ 2008-12-28 21:30 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-28 21:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from pinskia at gcc dot gnu dot org 2008-12-28 21:28 -------
You should disable libmudflap and libssp (in newer gcc's) if you want to build
a cross compiler to start stage1.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28962
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2008-12-28 21:30 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-06 14:12 [Bug bootstrap/28962] New: [4.0/4.1/4.2 regression] building a cross compiler with --disable-multilib fails bunk at stusta dot de
2006-09-06 14:13 ` [Bug bootstrap/28962] " bunk at stusta dot de
2006-09-06 14:13 ` bunk at stusta dot de
2006-09-06 14:15 ` bunk at stusta dot de
2006-09-06 14:20 ` bunk at stusta dot de
2006-09-06 16:28 ` Andrew Pinski
2006-09-06 16:28 ` pinskia at physics dot uc dot edu
2006-09-06 16:32 ` [Bug bootstrap/28962] " pinskia at gcc dot gnu dot org
2006-09-06 17:22 ` bunk at stusta dot de
2006-09-13 6:23 ` pinskia at gcc dot gnu dot org
2008-12-28 21:30 ` pinskia at gcc dot gnu dot org
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).