public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jgrimm2 at us dot ibm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/17646] [4.0 Regression] xgcc links 64bit objects into a 32bit target
Date: Tue, 19 Oct 2004 21:26:00 -0000	[thread overview]
Message-ID: <20041019212559.31049.qmail@sourceware.org> (raw)
In-Reply-To: <20040924065857.17646.olh@suse.de>


------- Additional Comments From jgrimm2 at us dot ibm dot com  2004-10-19 21:25 -------
I see this too.  Or rather, I see what Michael is describing. Should there be a
new bug for the problem as described by Michael?  My test scenario was from
desire to build 64-bit biarch compiler that defaults to m64.  The system
compiler was 32-bit biarch compiler that defaults to m32.   


Here's how I had configured: 
/home/jgrimm/gcc_priv_mline_anoncvs/gcc/configure
--prefix=/home/jgrimm/tools/gcc-work --build=powerpc64-linux
--host=powerpc64-linux --target=powerpc64-linux --with-cpu=default64
--with-as=/home/jgrimm/tools/binutils/bin/as
--with-ld=/home/jgrimm/tools/binutils/bin/ld --enable-threads=\posix
--enable-shared --enable-__cxa_atexit --enable-languages=c --enable-biarch

Error output:
...
stage1/xgcc -Bstage1/ -B/home/jgrimm/tools/gcc-work/powerpc64-linux/bin/   -g
-O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
 -fno-common   -DHAVE_CONFIG_H -DGENERATOR_FILE  -o build/genmodes \
 build/genmodes.o build/errors.o ../build-powerpc64-linux/libiberty/libiberty.a
/home/jgrimm/tools/binutils/bin/ld: warning: powerpc:common architecture of
input file `../build-powerpc64-linux/libiberty/libiberty.a(hashtab.o)' is
incompatible with powerpc:common64 output
/home/jgrimm/tools/binutils/bin/ld: warning: powerpc:common architecture of
input file `../build-powerpc64-linux/libiberty/libiberty.a(xmalloc.o)' is
incompatible with powerpc:common64 output
/home/jgrimm/tools/binutils/bin/ld: warning: powerpc:common architecture of
input file `../build-powerpc64-linux/libiberty/libiberty.a(xstrdup.o)' is
incompatible with powerpc:common64 output
/home/jgrimm/tools/binutils/bin/ld: warning: powerpc:common architecture of
input file `../build-powerpc64-linux/libiberty/libiberty.a(xexit.o)' is
incompatible with powerpc:common64 output
/home/jgrimm/tools/binutils/bin/ld: can not size stub section: Bad value


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17646


  parent reply	other threads:[~2004-10-19 21:26 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-24  6:59 [Bug bootstrap/17646] New: " olh at suse dot de
2004-09-24 11:56 ` [Bug bootstrap/17646] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-10-06  5:14 ` [Bug target/17646] " pinskia at gcc dot gnu dot org
2004-10-06  7:28 ` olh at suse dot de
2004-10-06  7:32 ` aj at gcc dot gnu dot org
2004-10-06  9:27 ` matz at suse dot de
2004-10-06  9:29 ` matz at suse dot de
2004-10-06  9:34 ` olh at suse dot de
2004-10-06  9:37 ` matz at suse dot de
2004-10-06  9:56 ` olh at suse dot de
2004-10-06  9:59 ` matz at suse dot de
2004-10-06 13:32 ` pinskia at gcc dot gnu dot org
2004-10-09 15:53 ` olh at suse dot de
2004-10-19 21:26 ` jgrimm2 at us dot ibm dot com [this message]
2004-10-27 15:38 ` jgrimm2 at us dot ibm dot com
2004-12-20  1:02 ` pinskia at gcc dot gnu dot org
2004-12-20  5:57 ` aj at gcc dot gnu dot org
2005-01-06 14:12 ` jakub at gcc dot gnu dot org
2005-01-06 14:16 ` pinskia at gcc dot gnu dot org
2005-01-06 21:58 ` olh at suse dot de
2005-01-06 22:42 ` pinskia at gcc dot gnu dot org
2005-01-06 23:46 ` olh at suse dot de

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=20041019212559.31049.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).