public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* make fails on ld: crti.o "no such file", but present in /usr/lib64
@ 2008-02-12 17:47 Ian S. Worthington
  2008-02-12 17:59 ` Andrew Haley
  0 siblings, 1 reply; 8+ messages in thread
From: Ian S. Worthington @ 2008-02-12 17:47 UTC (permalink / raw)
  To: gcc-help

Can anyone help me figure out what's wrong with this?

My "make bootstrap" of gcc 4.1.2 is failing with:

/usr/bin/ld: crti.o: No such file: No such file or directory

This file is available in /usr/lib64

In case it matters the final part of the log is:

.
.
.
libgcc/32/_udivmoddi4_s.o libgcc/32/unwind-dw2_s.o
libgcc/32/unwind-dw2-fde-glibc_s.o libgcc/32/unwind-sjlj_s.o
libgcc/32/gthr-gnat_s.o libgcc/32/unwind-c_s.o -lc && rm -f 32/libgcc_s.so &&
if [ -f 32/libgcc_s.so.1 ]; then mv -f 32/libgcc_s.so.1
32/libgcc_s.so.1.backup; else true; fi && mv 32/libgcc_s.so.1.tmp
32/libgcc_s.so.1 && ln -s libgcc_s.so.1 32/libgcc_s.so
/usr/bin/ld: crti.o: No such file: No such file or directory
collect2: ld returned 1 exit status
make[3]: *** [32/libgcc_s.so] Error 1
make[3]: Leaving directory `/ztpf/tpfcross/build/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/ztpf/tpfcross/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/ztpf/tpfcross/build/gcc'
make: *** [bootstrap] Error 2

and the configure command is:

/ztpf/tpfcross/source/gcc-4.1.2/configure
--prefix=/ztpf/tpfcross/install/native412 --enable-languages=c,c++




ian 
... 

Ian S. Worthington, MBCS.
 
http://isw.me.uk/ 

Dulce et decorum est pro patria mori, sed dulcius pro patria vivere, et
dulcissimus pro patria biber. Ergo, bibiamo pro salute patriae. 

 



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: make fails on ld: crti.o "no such file", but present in /usr/lib64
  2008-02-12 17:47 make fails on ld: crti.o "no such file", but present in /usr/lib64 Ian S. Worthington
@ 2008-02-12 17:59 ` Andrew Haley
  0 siblings, 0 replies; 8+ messages in thread
From: Andrew Haley @ 2008-02-12 17:59 UTC (permalink / raw)
  To: Ian S. Worthington; +Cc: gcc-help

Ian S. Worthington wrote:
> Can anyone help me figure out what's wrong with this?
> 
> My "make bootstrap" of gcc 4.1.2 is failing with:
> 
> /usr/bin/ld: crti.o: No such file: No such file or directory
> 
> This file is available in /usr/lib64

It's the wrong crti.o.  There are two such files, one in /usr/lib64 and one
in /usr/lib.  To install this on a Fedora system you'd type

yum install glibc-devel.i386

Andrew.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: make fails on ld: crti.o "no such file", but present in /usr/lib64
  2008-02-12 21:33 Ian S. Worthington
@ 2008-02-13 11:37 ` Andrew Haley
  0 siblings, 0 replies; 8+ messages in thread
From: Andrew Haley @ 2008-02-13 11:37 UTC (permalink / raw)
  To: Ian S. Worthington; +Cc: gcc-help

Ian S. Worthington wrote:
> Thanks Andrew.
> 
> I can certainly install the .s390 package and see.  I'm concerned though in
> case it breaks something.  Are they designed to live togther in harmony, 

Yes.

> and is there any way of testing that before I trash my system?

No, but yum and RPM are designed not to trash your system.

Andrew.

> 
> i
> 
> ------ Original Message ------
> Received: Tue, 12 Feb 2008 08:39:17 PM GMT
> From: Andrew Haley <aph@redhat.com>
> To: "Ian S. Worthington" <ianworthington@usa.net>Cc: gcc-help@gcc.gnu.org
> Subject: Re: make fails on ld: crti.o "no such file", but present in
> /usr/lib64
> 
>> Ian S. Worthington wrote:
>>> Hi Andrew --
>>>
>>> Many thanks for your reply.
>>>
>>> It looks like I've got glibc-devel installed and (almost) up to date:
>>>
>>> # yum list glibc-devel
>>> Setting up repositories
>>> update                    100% |=========================|  951 B   
> 00:00
>>> base                                                            1.1 kB
> 00:00
>>> addons                    100% |=========================|  951 B   
> 00:00
>>> extras                    100% |=========================|  951 B   
> 00:00
>>> Reading repository metadata in from local files
>>> Installed Packages
>>> glibc-devel.s390x                        2.3.4-2.36             installed
>>> Available Packages
>>> glibc-devel.s390x                        2.3.4-2.39             base
>>> glibc-devel.s390                         2.3.4-2.39             base
>> Ah, S/390.  You shoulda said.  :-)
>>
>> OK, so there are .s390 and .s390x packages.  I guess one of these is for
>> /lib and one of these is for /lib64, but I'm not a S/390 expert.  You
>> only have the .s390x installed.
>>
>>> I've now updated to .39 just in case but still only have that one copy. 
>>>
>>> /usr/lib doesn't seem to have much in it.  Is this correct?
>> Maybe you really don't want to build the 32-bit libraries, you just
>> want the 64-bit versions.  In that case you can configure with
> --disable-multilib.
>> Andrew.
>>
> 
> 
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: make fails on ld: crti.o "no such file", but present in /usr/lib64
@ 2008-02-13  0:14 Ian S. Worthington
  0 siblings, 0 replies; 8+ messages in thread
From: Ian S. Worthington @ 2008-02-13  0:14 UTC (permalink / raw)
  To: Poor Yorick, Ian S. Worthington, Andrew Haley; +Cc: gcc-help

Thanks Yorick.

Actually, I think I might need both, 

http://www.ibm.com/support/docview.wss?rs=2192&uid=swg27005768 

i



------ Original Message ------
Received: Tue, 12 Feb 2008 10:22:32 PM GMT
From: "Poor Yorick" <org.gnu.gcc.help@pooryorick.com>
To: "Ian S. Worthington" <ianworthington@usa.net>,  "Andrew Haley"
<aph@redhat.com>Cc: "" <gcc-help@gcc.gnu.org>
Subject: Re: make fails on ld: crti.o "no such file", but present in
/usr/lib64

> 
> >  -------Original Message-------
> >  From: Ian S. Worthington <ianworthington@usa.net>
> >  Subject: Re: make fails on ld: crti.o "no such file", but present in
/usr/lib64
> >  Sent: 2008-02-12 20:25
> >  
> >  Hi Andrew --
> >  
> >  Many thanks for your reply.
> >  
> 
> I think you just need the 32-bit version of glibc-devel.
> 
> Also,
> 
> http://www.catb.org/jargon/html/T/top-post.html
> 
> 
> -- 
> Yorick
> "Our servers are taking too much electricity.  We need to virtualize."
> 



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: make fails on ld: crti.o "no such file", but present in /usr/lib64
@ 2008-02-12 22:22 Poor Yorick
  0 siblings, 0 replies; 8+ messages in thread
From: Poor Yorick @ 2008-02-12 22:22 UTC (permalink / raw)
  To: Ian S. Worthington, Andrew Haley; +Cc: gcc-help


>  -------Original Message-------
>  From: Ian S. Worthington <ianworthington@usa.net>
>  Subject: Re: make fails on ld: crti.o "no such file", but present in /usr/lib64
>  Sent: 2008-02-12 20:25
>  
>  Hi Andrew --
>  
>  Many thanks for your reply.
>  

I think you just need the 32-bit version of glibc-devel.

Also,

http://www.catb.org/jargon/html/T/top-post.html


-- 
Yorick
"Our servers are taking too much electricity.  We need to virtualize."

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: make fails on ld: crti.o "no such file", but present in /usr/lib64
@ 2008-02-12 21:33 Ian S. Worthington
  2008-02-13 11:37 ` Andrew Haley
  0 siblings, 1 reply; 8+ messages in thread
From: Ian S. Worthington @ 2008-02-12 21:33 UTC (permalink / raw)
  To: Andrew Haley, gcc-help

Thanks Andrew.

I can certainly install the .s390 package and see.  I'm concerned though in
case it breaks something.  Are they designed to live togther in harmony, and
is there any way of testing that before I trash my system?

i

------ Original Message ------
Received: Tue, 12 Feb 2008 08:39:17 PM GMT
From: Andrew Haley <aph@redhat.com>
To: "Ian S. Worthington" <ianworthington@usa.net>Cc: gcc-help@gcc.gnu.org
Subject: Re: make fails on ld: crti.o "no such file", but present in
/usr/lib64

> Ian S. Worthington wrote:
> > Hi Andrew --
> > 
> > Many thanks for your reply.
> > 
> > It looks like I've got glibc-devel installed and (almost) up to date:
> > 
> > # yum list glibc-devel
> > Setting up repositories
> > update                    100% |=========================|  951 B   
00:00
> > base                                                            1.1 kB
00:00
> > addons                    100% |=========================|  951 B   
00:00
> > extras                    100% |=========================|  951 B   
00:00
> > Reading repository metadata in from local files
> > Installed Packages
> > glibc-devel.s390x                        2.3.4-2.36             installed
> > Available Packages
> > glibc-devel.s390x                        2.3.4-2.39             base
> > glibc-devel.s390                         2.3.4-2.39             base
> 
> Ah, S/390.  You shoulda said.  :-)
> 
> OK, so there are .s390 and .s390x packages.  I guess one of these is for
> /lib and one of these is for /lib64, but I'm not a S/390 expert.  You
> only have the .s390x installed.
> 
> > I've now updated to .39 just in case but still only have that one copy. 
> > 
> > /usr/lib doesn't seem to have much in it.  Is this correct?
> 
> Maybe you really don't want to build the 32-bit libraries, you just
> want the 64-bit versions.  In that case you can configure with
--disable-multilib.
> 
> Andrew.
> 



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: make fails on ld: crti.o "no such file", but present in /usr/lib64
  2008-02-12 20:25 Ian S. Worthington
@ 2008-02-12 20:39 ` Andrew Haley
  0 siblings, 0 replies; 8+ messages in thread
From: Andrew Haley @ 2008-02-12 20:39 UTC (permalink / raw)
  To: Ian S. Worthington; +Cc: gcc-help

Ian S. Worthington wrote:
> Hi Andrew --
> 
> Many thanks for your reply.
> 
> It looks like I've got glibc-devel installed and (almost) up to date:
> 
> # yum list glibc-devel
> Setting up repositories
> update                    100% |=========================|  951 B    00:00
> base                                                            1.1 kB 00:00
> addons                    100% |=========================|  951 B    00:00
> extras                    100% |=========================|  951 B    00:00
> Reading repository metadata in from local files
> Installed Packages
> glibc-devel.s390x                        2.3.4-2.36             installed
> Available Packages
> glibc-devel.s390x                        2.3.4-2.39             base
> glibc-devel.s390                         2.3.4-2.39             base

Ah, S/390.  You shoulda said.  :-)

OK, so there are .s390 and .s390x packages.  I guess one of these is for
/lib and one of these is for /lib64, but I'm not a S/390 expert.  You
only have the .s390x installed.

> I've now updated to .39 just in case but still only have that one copy. 
> 
> /usr/lib doesn't seem to have much in it.  Is this correct?

Maybe you really don't want to build the 32-bit libraries, you just
want the 64-bit versions.  In that case you can configure with --disable-multilib.

Andrew.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: make fails on ld: crti.o "no such file", but present in /usr/lib64
@ 2008-02-12 20:25 Ian S. Worthington
  2008-02-12 20:39 ` Andrew Haley
  0 siblings, 1 reply; 8+ messages in thread
From: Ian S. Worthington @ 2008-02-12 20:25 UTC (permalink / raw)
  To: Andrew Haley; +Cc: gcc-help

Hi Andrew --

Many thanks for your reply.

It looks like I've got glibc-devel installed and (almost) up to date:

# yum list glibc-devel
Setting up repositories
update                    100% |=========================|  951 B    00:00
base                                                            1.1 kB 00:00
addons                    100% |=========================|  951 B    00:00
extras                    100% |=========================|  951 B    00:00
Reading repository metadata in from local files
Installed Packages
glibc-devel.s390x                        2.3.4-2.36             installed
Available Packages
glibc-devel.s390x                        2.3.4-2.39             base
glibc-devel.s390                         2.3.4-2.39             base

I've now updated to .39 just in case but still only have that one copy. 

/usr/lib doesn't seem to have much in it.  Is this correct?

drwxr-xr-x    3 root root 4096 Oct 21 12:19 anaconda-runtime
drwxr-xr-x    2 root root 4096 Jul  7  2005 games
drwxr-xr-x    3 root root 4096 May  3  2007 gcc
drwxr-xr-x    2 root root 4096 Jul  7  2005 gcc-lib
drwxr-xr-x    2 root root 8192 Feb 12 15:15 gconv
drwxr-xr-x    2 root root 4096 May 12  2007 java
drwxr-xr-x    2 root root 4096 May 12  2007 java-1.4.0
drwxr-xr-x    2 root root 4096 May 12  2007 java-1.4.1
drwxr-xr-x    2 root root 4096 May 12  2007 java-1.4.2
drwxr-xr-x    2 root root 4096 May 12  2007 java-1.5.0
drwxr-xr-x    2 root root 4096 May 12  2007 java-1.6.0
drwxr-xr-x    2 root root 4096 May 12  2007 java-ext
drwxr-xr-x    3 root root 4096 Oct 21 21:08 jvm
drwxr-xr-x    2 root root 4096 May 12  2007 jvm-commmon
drwxr-xr-x    3 root root 4096 Oct 21 21:08 jvm-exports
drwxr-xr-x    2 root root 4096 May 12  2007 jvm-private
drwxr-xr-x  346 root root 8192 Feb 12 15:12 locale
-rw-r--r--    1 root root  324 May  3  2007 logging.properties
drwxr-xr-x    2 root root 4096 Oct 21 14:43 lsb
-rw-r--r--    1 root root  947 Mar  6  2007 mail.help
-rw-r--r--    1 root root  823 Mar  6  2007 mail.tildehelp
drwxr-xr-x    5 root root 4096 Oct 21 13:02 perl5
drwxr-xr-x    2 root root 4096 Oct 21 20:56 pkgconfig
drwxr-xr-x    2 root root 4096 Oct 21 15:13 psutils
drwxr-xr-x    3 root root 4096 Oct 21 14:26 python2.3
drwxr-xr-x    6 rpm  rpm  4096 Oct 21 20:45 rpm
drwxr-xr-x    3 root root 4096 Oct 21 13:16 rpmdb
drwxr-xr-x    2 root root 4096 Oct 21 20:51 security
lrwxrwxrwx    1 root root   30 Oct 21 14:36 sendmail ->
/etc/alternatives/mta-sendmail
lrwxrwxrwx    1 root root   16 Oct 21 14:36 sendmail.sendmail ->
../sbin/sendmail
lrwxrwxrwx    1 root root   17 Oct 21 13:20 tcl8.4 -> /usr/share/tcl8.4
lrwxrwxrwx    1 root root   16 Oct 21 12:20 X11 -> ../X11R6/lib/X11



------ Original Message ------
Received: Tue, 12 Feb 2008 06:00:00 PM GMT
From: Andrew Haley <aph@redhat.com>
To: "Ian S. Worthington" <ianworthington@usa.net>Cc: gcc-help@gcc.gnu.org
Subject: Re: make fails on ld: crti.o "no such file", but present in
/usr/lib64

> Ian S. Worthington wrote:
> > Can anyone help me figure out what's wrong with this?
> > 
> > My "make bootstrap" of gcc 4.1.2 is failing with:
> > 
> > /usr/bin/ld: crti.o: No such file: No such file or directory
> > 
> > This file is available in /usr/lib64
> 
> It's the wrong crti.o.  There are two such files, one in /usr/lib64 and one
> in /usr/lib.  To install this on a Fedora system you'd type
> 
> yum install glibc-devel.i386
> 
> Andrew.
> 



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-02-13 11:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-12 17:47 make fails on ld: crti.o "no such file", but present in /usr/lib64 Ian S. Worthington
2008-02-12 17:59 ` Andrew Haley
2008-02-12 20:25 Ian S. Worthington
2008-02-12 20:39 ` Andrew Haley
2008-02-12 21:33 Ian S. Worthington
2008-02-13 11:37 ` Andrew Haley
2008-02-12 22:22 Poor Yorick
2008-02-13  0:14 Ian S. Worthington

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