public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "john at jupiter dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/19136] Can't build gcc 3.4.3: ld parse error on libgcc.map
Date: Thu, 23 Dec 2004 23:59:00 -0000	[thread overview]
Message-ID: <20041223235954.11934.qmail@sourceware.org> (raw)
In-Reply-To: <20041223021238.19136.john@jupiter.com>


------- Additional Comments From john at jupiter dot com  2004-12-23 23:59 -------
(In reply to comment #1)
> There is the problem:
> binutils-2.14.tar.gz 
> 
> so you need --with-gnu-as and --with-gnu-ld.

Adding these two options does not solve the problem. The libgcc_s.so does not
get built. Here's the command and output:
/share/jupiter/linux/ThirdPartySoftware/GNUtools/gcc-3.4.3/gcc/xgcc
-B/share/jupiter/linux/ThirdPartySoftware/GNUtools/gcc-3.4.3/gcc/
-B/usr/local/sparc-sun-solaris2.5.1/bin/
-B/usr/local/sparc-sun-solaris2.5.1/lib/ -isystem
/usr/local/sparc-sun-solaris2.5.1/include -isystem
/usr/local/sparc-sun-solaris2.5.1/sys-include -O2  -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
 -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 --with-gnu-as
--with-gnu-ld -D__GCC_FLOAT_NOT_NEEDED  -shared -nodefaultlibs
-Wl,-h,libgcc_s.so.1 -Wl,-z,text -Wl,-z,defs -Wl,-M,libgcc/./libgcc.map -o
libgcc_s.so.1.tmp   libgcc/./_muldi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o
libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_cmpdi2.o libgcc/./_ucmpdi2.o
libgcc/./_floatdidf.o libgcc/./_floatdisf.o libgcc/./_fixunsdfsi.o
libgcc/./_fixunssfsi.o libgcc/./_fixunsdfdi.o libgcc/./_fixdfdi.o
libgcc/./_fixunssfdi.o libgcc/./_fixsfdi.o libgcc/./_fixxfdi.o
libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o libgcc/./_fixunsxfsi.o
libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o libgcc/./_floatditf.o
libgcc/./_clear_cache.o libgcc/./_enable_execute_stack.o libgcc/./_trampoline.o
libgcc/./__main.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o libgcc/./_addvsi3.o
libgcc/./_addvdi3.o libgcc/./_subvsi3.o libgcc/./_subvdi3.o libgcc/./_mulvsi3.o
libgcc/./_mulvdi3.o libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o
libgcc/./_ffssi2.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_clzsi2.o
libgcc/./_clzdi2.o libgcc/./_ctzsi2.o libgcc/./_ctzdi2.o
libgcc/./_popcount_tab.o libgcc/./_popcountsi2.o libgcc/./_popcountdi2.o
libgcc/./_paritysi2.o libgcc/./_paritydi2.o libgcc/./_divdi3.o
libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o
libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o  libgcc/./unwind-dw2.o
libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o libgcc/./gthr-gnat.o
libgcc/./unwind-c.o -lc && rm -f libgcc_s.so && if [ -f libgcc_s.so.1 ]; then mv
-f libgcc_s.so.1 libgcc_s.so.1.`basename `; else true; fi && mv
libgcc_s.so.1.tmp libgcc_s.so.1 && ln -s libgcc_s.so.1 libgcc_s.so
/usr/local/sparc-sun-solaris2.5.1/bin/ld:libgcc/./libgcc.map: file format not
recognized; treating as linker script
/usr/local/sparc-sun-solaris2.5.1/bin/ld:libgcc/./libgcc.map:1: parse error
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.so] Error 1
make[2]: Leaving directory
`/share/jupiter/linux/ThirdPartySoftware/GNUtools/gcc-3.4.3/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory
`/share/jupiter/linux/ThirdPartySoftware/GNUtools/gcc-3.4.3/gcc'
make: *** [all-gcc] Error 2



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


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


  parent reply	other threads:[~2004-12-23 23:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-23  2:13 [Bug c/19136] New: " john at jupiter dot com
2004-12-23  2:16 ` [Bug c/19136] " pinskia at gcc dot gnu dot org
2004-12-23 23:59 ` john at jupiter dot com [this message]
2004-12-24  6:15 ` ebotcazou at gcc dot gnu dot org

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=20041223235954.11934.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).