Toon posts:

64bit compile problemen

Pagina: 1
Acties:

Verwijderd

Topicstarter
Howdee,

Kep een Sun Ultrasparc doos (zie spekjes).
Ik draai RH6.2 Sparc, intussen bijna alles geupgrade met spullen van rawhide. Doos draait als een tiet.
Kan alles compileren, 32bit en 64bit maar soms gaat er bij 64bitters iets mis.
Dan krijg ik dit:

/usr/bin/ld: skipping incompatible /libc.so.6 searching for /lib/libc.so.6

De rest is effe in het engels want dat komt uit een post van me op gnu.gcc.help

-------------------------------------------
Hi,

Often, when compiling a program in 64bit mode on my UltraSparc box i get
this message:

/usr/bin/ld: skipping incompatible /lib/libc.so.6 when searching for
/lib/libc.so.6

The only alternative then is to compile it in 32 bit mode which always works.
My gcc version is gcc-2.96-81


I have a hunch that it has something to do with the upgrade from
glibc-2.1.3 ro 2.2.2 (from RawHide).

"/lib/libc.so.6" is a symlink from "/lib/libc-2.2.2.so"

i have some left over files from glibc-2.1.3. There are in
"/usr/sparc-glibc21-linux" where "/usr/sparc-glibc21-linux/lib/libc.so.6"
is a symlink from "/usr/sparc-glibc21-linux/lib/libc-2.1.3.so" The entire
(or at least a large portion) of the glibc-2.1.3 files are there: libs,
includes etc.

I'm a little shy from deleting the entire "/usr/sparc-glibc21-linux" tree
because some older progs might fail to run at all or give problems.


Can anyone help me fix this problem. It prevents me from building the gcc
3.0 64bit compiler as well as a bunch of other programs in 64bit mode.


Thanks in advance,
Steve
--------------------------------------------

Iemand een ideetje ?