From: Martin Hicks <mort@wildopensource.com>
To: linux-ia64@vger.kernel.org
Subject: klibc: type of symbol changed warning
Date: Tue, 25 Nov 2003 16:23:40 +0000 [thread overview]
Message-ID: <marc-linux-ia64-106977774928579@msgid-missing> (raw)
Hello,
I've been trying to get klibc working on ia64. I'm running into a
problem while compiling it. I get a warning during the final link:
gcc --static --nostdlib -nostartfiles -o udev klibc/klibc/crt0.o udev.o
udev-add.o udev-remove.o udevdb.o logging.o namedev.o
libsysfs/sysfs_bus.o libsysfs/sysfs_class.o libsysfs/sysfs_device.o
libsysfs/sysfs_dir.o libsysfs/sysfs_driver.o libsysfs/sysfs_utils.o
libsysfs/dlist.o tdb/tdb.o tdb/spinlock.o klibc/klibc/libc.a
/usr/lib/gcc-lib/ia64-linux/3.3.2/libgcc.a
/usr/bin/ld: Warning: type of symbol `errno' changed from 1 to 6 in
/usr/lib/gcc-lib/ia64-linux/3.3.2/../../../libc.a(errno.o)
Whatever causing this is also messing up other stuff. The __ctypes
array, which is used by many of the ctype.h functions is not in the
right place in the final udev executable.
The fix that I've found is to do the final link with ld instead of gcc.
Anyone know what's causing this problem?
thanks
mh
--
Martin Hicks Wild Open Source Inc.
mort@wildopensource.com 613-266-2296
next reply other threads:[~2003-11-25 16:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-25 16:23 Martin Hicks [this message]
2003-11-25 17:06 ` klibc: type of symbol changed warning Martin Hicks
2003-11-25 18:32 ` Martin Hicks
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-ia64-106977774928579@msgid-missing \
--to=mort@wildopensource.com \
--cc=linux-ia64@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