* RE: Question Re: make bootstrap failure -> libgcc.map: file format..
@ 2002-09-12 20:53 Andy Gabor
0 siblings, 0 replies; 2+ messages in thread
From: Andy Gabor @ 2002-09-12 20:53 UTC (permalink / raw)
To: gcc-help; +Cc: Clif Redding
This this probably more than anyone wants to know but it seems...
1. binutil populates both /usr/local/bin and
/usr/local/sparc-sun-solaris2.9/bin with ld and such. Files in both
directories are identical as are their creation date and time (hard link).
2. Sun ld is in /usr/ccs/bin.
3. Build works so long as configure is used with --with-ld=(any of the
above files). If this option is *not* set, build dies although it seems
it is using the correct files based on the build output.
A bit mysterious - but I guess if the world made any sense men would
ride side-saddle.
Andy
*****Original message*****
Platform=UltraSparc 250
OS=Solaris2.7
GCC ver. 3.1
binutils ver. 2.13 (by the way, according to the output from ls -i the
/usr/local/bin utilities are hard links to
the utilities in /usr/local/sparc-sun-solaris2.7/bin
because inode numbers are identical)
Gnu make ver. 3.79.1
Using configure with no options and then make bootstrap would fail with
the following messages:
/usr/local/sparc-sun-solaris2.7/bin/ld:libgcc/./libgcc.map: file format
not recognized; treating as linker script
/usr/local/sparc-sun-solaris2.7/bin/ld:libgcc/./libgcc.map:1: parse error
collect2: ld returned 1 exit status
Did a "make distclean" then a "../configure --with-ld=/usr/local/bin/ld
--with-as=/usr/local/bin/as" in my objdir. When I did a "make bootstrap"
the build process made it through the libgcc build with no problem.
Now my question is:
If the utilities in /usr/local/bin are hard links to the binutils in
/usr/local/sparc-sun-solaris2.7/bin, why did the first compile fail while
the second did it's thing with no problem?
Clif Redding
^ permalink raw reply [flat|nested] 2+ messages in thread
* Question Re: make bootstrap failure -> libgcc.map: file format..
@ 2002-09-11 11:32 Clif Redding
0 siblings, 0 replies; 2+ messages in thread
From: Clif Redding @ 2002-09-11 11:32 UTC (permalink / raw)
To: gcc-help
Greetings!,
My situation is similar:
Platform=UltraSparc 250
OS=Solaris2.7
GCC ver. 3.1
binutils ver. 2.13 (by the way, according to the output from ls -i the
/usr/local/bin utilities are hard links to
the utilities in /usr/local/sparc-sun-solaris2.7/bin
because inode numbers are identical)
Gnu make ver. 3.79.1
Using configure with no options and then make bootstrap would fail with
the following messages:
/usr/local/sparc-sun-solaris2.7/bin/ld:libgcc/./libgcc.map: file format
not recognized; treating as linker script
/usr/local/sparc-sun-solaris2.7/bin/ld:libgcc/./libgcc.map:1: parse error
collect2: ld returned 1 exit status
Did a "make distclean" then a "../configure --with-ld=/usr/local/bin/ld
--with-as=/usr/local/bin/as" in my objdir. When I did a "make bootstrap"
the build process made it through the libgcc build with no problem.
Now my question is:
If the utilities in /usr/local/bin are hard links to the binutils in
/usr/local/sparc-sun-solaris2.7/bin, why did the first compile fail while
the second did it's thing with no problem?
Clif Redding
*******************************************************************************
Also Known As:
(Officially)
Clif Redding
Computer Operations Manager, Computer Science
University of West Florida
(UN-Officially)
Unix System Administrator
Web Server Administrator
MicroSoft Windows NT/2000 System and Network Administrator
Network Manager
Database Manager
Oracle System Administrator
Sybase System Administrator
SQL System Administrator
Hardware/Software Engineer
Hardware/Software Technician
Chief Furniture Mover
*******************************************************************************
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-09-13 3:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-12 20:53 Question Re: make bootstrap failure -> libgcc.map: file format Andy Gabor
-- strict thread matches above, loose matches on Subject: below --
2002-09-11 11:32 Clif Redding
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).