Syllable; elf-init.c in csu/stamp.os
Andreas Schwab
schwab@suse.de
Mon Jan 26 21:20:00 GMT 2004
Kristian Van Der Vliet <vanders@liqwyd.com> writes:
> It turns out that this is because elf-init.c is being included as part of
> libc_pic.a, exactly where it should not be. On further investigation the
> files csu/stamp.os & csu/stamp.oS appear to be incorrect. Configuring with
>
> --build=i586-unknown-syllable --host=i586-unknown-syllable
>
> csu/stamp.os is generated as
>
> csu/init-first.os csu/libc-start.os csu/sysdep.os csu/version.os
> csu/check_fds.os csu/elf-init.os csu/dso_handle.os csu/errno.os
> csu/errno-loc.os csu/divdi3.os
>
> (Note the inclusion of elf-init.os)
>
> csu/stamp.oS is a 1 byte file with no files listed within it.
Do you have symbol versioning disabled? Because of these lines in
Makerules:
ifeq (yesyes,$(build-shared)$(elf))
ifndef libc.so-version
# Undefine this because it can't work when we libc.so is unversioned.
static-only-routines =
endif
endif
there will be no *.oS (static-only) objects produced in this case.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Libc-alpha
mailing list