Ultralinux archive on lore.kernel.org
 help / color / mirror / Atom feed
* More sparc64-libc questions
@ 2001-09-30 17:20 Sean Callanan
  2001-09-30 18:06 ` Ben Collins
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sean Callanan @ 2001-09-30 17:20 UTC (permalink / raw)
  To: ultralinux


>Yes, it's known to work. Debian contains a gcc-3.0-sparc64 package along
>with a libc6-sparc64. The tricky part is that gcc is hardcoded to use
>/lib64/ld-linux.so.2. You should make a symlink from /lib64 to
>/usr/local/sparc64-linux/lib for your setup to work, and then add /lib64
>to /etc/ld.so.conf and rerun ldconfig.

I did what you suggested, adding /lib64 to /etc/ld.so.conf, and rerunning 
ldconfig. But now the program segfaults.

% sparc64-linux-gcc -m64 -o hello hello.c
% ./hello
Segmentation fault

It doesn't dump core, either. (not that my 32-bit gdb would do much good)

By the way, how difficult would it be to use a file in /etc to determine 
the 64-bit library location (such as, maybe /etc/ld64.so.conf)?

Sincerely,

Sean Callanan 


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

end of thread, other threads:[~2001-10-01  1:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-30 17:20 More sparc64-libc questions Sean Callanan
2001-09-30 18:06 ` Ben Collins
2001-10-01  1:36 ` sc843
2001-10-01  1:52 ` Ben Collins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox