Re: /lib64/libc.so.6: unexpected reloc type 0x08

2003-12-02 Thread Otto Solares
On Tue, Dec 02, 2003 at 12:01:00PM -0500, Andy Dougherty wrote:
 On Mon, 1 Dec 2003, Ben Collins wrote:
  You probably want 32-bit anyway, so try this instead:
 [sparc32]
 
 Yes, I agree that's usually the case, but in this case in particular I
 wanted 64-bits :-).

glibc was broken, Ben and DaveM fix it.  Just wait to the next glibc
in your debian mirrors.

-solca



/lib64/libc.so.6: unexpected reloc type 0x08

2003-12-01 Thread Andy Dougherty
I am currently running the testing distribution on an Ultra 10.
A trivial compilation produces the following error message:

echo 'int main(void) { return 0; }'  x.c  gcc -o x x.c  ./x
./x: error while loading shared libraries: /lib64/libc.so.6: unexpected 
reloc type 0x08

The relevant packages are:

Package: gcc
Version: 4:3.3.1-2
(though gcc itself reports gcc version 3.3.2 (Debian))

Package: libc6-sparc64
Version: 2.3.2.ds1-10

I know how to work around the problem with the sparc32 command or
with the -m32 option to gcc, and those are fine as temporary
workarounds, but is there something wrong with my setup?

If others are seeing this, does anyone know what the error message
means and how to go about fixing it?

Thanks,

Andy Dougherty  [EMAIL PROTECTED]



Re: /lib64/libc.so.6: unexpected reloc type 0x08

2003-12-01 Thread Ben Collins
On Mon, Dec 01, 2003 at 12:03:02PM -0500, Andy Dougherty wrote:
 I am currently running the testing distribution on an Ultra 10.
 A trivial compilation produces the following error message:
 
 echo 'int main(void) { return 0; }'  x.c  gcc -o x x.c  ./x
 ./x: error while loading shared libraries: /lib64/libc.so.6: unexpected 
 reloc type 0x08
 
 The relevant packages are:

See another post about fixing 64-bit with some temporary packages I
built.

You probably want 32-bit anyway, so try this instead:

echo 'int main(void) { return 0; }'  x.c  sparc32 gcc -o x x.c  ./x

-- 
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/