bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: glibc 2.2.5


From: Andreas Jaeger
Subject: Re: glibc 2.2.5
Date: Sun, 21 Apr 2002 12:39:34 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Artificial Intelligence, i386-suse-linux)

address@hidden writes:

> On Sat, 20 Apr 2002, Andreas Jaeger wrote:
>
>> Hactar <address@hidden> writes:
>>
>> > On Sat, 20 Apr 2002, Andreas Jaeger wrote:
>> >
>> >> Hactar <address@hidden> writes:
>> >>
>> >> > /tmp/ccmSEaL9.s: Assembler messages:
>> >> > /tmp/ccmSEaL9.s:1380: Error: operands given don't match any known 386
>> >> > instruction
>> >> > /tmp/ccmSEaL9.s:1387: Error: operands given don't match any known 386
>> >> > instruction
>> >>
>> >> What instruction is in that line?  Use -save-temps and invstigate.
>> >
>> > 'make -save-temps' prints out the environment then exits.  Am I doing it
>> > wrong?
>>
>> Please reply to the mailing list.
>
> Sorry.  Fixed.
>
>> You have to run gcc with -save-temps:
>
> The command line was too long for pdksh, so I used bash.  This time, I
> issued 'make' from within glibc-2.2.5/linuxthreads, and the errors came
> two lines later:
>
> signals.s:1382: Error: operands given don't match any known 386
> instruction
> signals.s:1389: Error: operands given don't match any known 386
>
> instruction
>
> But anyhow, those lines are:
>
> 1004/0 address@hidden:...linuxthreads > head -1382 signals.s | tail -1
>         rep     movsl
> 1005/0 address@hidden:...linuxthreads > head -1389 signals.s | tail -1
>         rep     movsl
>
>> >> Which binutils> >
>> > Most things, 2.9.1.
>  
>> 2.9.1 is quite old, you should update it anyway.
>    
> Yep, that seemed to do it.  I got and compiled binutils 2.12, and
> everything compiled.  Yay.
>
> I finished compiling and installing gcc and glibc.  Now I can't execute
> any dynamic binaries.  They complain:
>
> date: /lib/ld-linux.so.2: version `GLIBC_2.2.3' not found (required by
> /usr/local/lib/libc.so.6)
> date: /lib/ld-linux.so.2: version `GLIBC_2.2' not found (required by
> /usr/local/lib/libc.so.6)
>
> I have to use the few statically-linked binaries I have around for just
> such an occasion, and
>
> /usr/local/lib/ld-2.2.5.so <binary>
>
> for the rest.  I sent this message from a Win 95 laptop, because neither
> pine nor mail would work.  /usr/local/lib is in /etc/ld.so.conf.  I've
> got
>
> /lib/libc.so.6 -> /usr/local/lib/libc-2.2.5.so
> /lib/ld-linux.so -> /usr/local/lib/ld-2.2.5.so
> /usr/local/lib/ld-linux.so.2 -> ld-2.2.5.so

Everything that'S in usr/local should be linked...

> Do I need anything else?  Thanks.

You've broken your installation since /lib/ld-linux.so.2 is hardcode
into each binary.  I strongly suggest to remove that broken
installation and start with --prefix=/usr

Andreas


> Note: /usr is a separate filesystem than /, so I'll have to move some
> files and make some links, to make sure I can boot.

-- 
 Andreas Jaeger
  SuSE Labs address@hidden
   private address@hidden
    http://www.suse.de/~aj



reply via email to

[Prev in Thread] Current Thread [Next in Thread]