This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Syllable; elf-init.c in csu/stamp.os


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]