Ultralinux archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sean Callanan <sc843@bard.edu>
To: ultralinux@vger.kernel.org
Subject: More sparc64-libc questions
Date: Sun, 30 Sep 2001 17:20:50 +0000	[thread overview]
Message-ID: <marc-linux-ultrasparc-100187097332030@msgid-missing> (raw)


>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 


             reply	other threads:[~2001-09-30 17:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-30 17:20 Sean Callanan [this message]
2001-09-30 18:06 ` More sparc64-libc questions Ben Collins
2001-10-01  1:36 ` sc843
2001-10-01  1:52 ` Ben Collins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ultrasparc-100187097332030@msgid-missing \
    --to=sc843@bard.edu \
    --cc=ultralinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox