Unix Technical Forum

spurious error messages from linker with -Bsymbolic

This is a discussion on spurious error messages from linker with -Bsymbolic within the comp.unix.solaris forums, part of the Solaris Operating System category; --> I have a gripe with the Sun linker and am wondering if anyone knows of a workaround. We build ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-12-2008, 04:21 AM
Henry Townsend
 
Posts: n/a
Default spurious error messages from linker with -Bsymbolic

I have a gripe with the Sun linker and am wondering if anyone knows of a
workaround. We build our shared libraries with -Bsymbolic. Yes, we
understand the semantics of -Bsymbolic and we still want them.
Unfortunately, even though we've asked for this behavior, the linker
emits pseudo-error messages such as the following (names anonymized):

Undefined first referenced
symbol in file
fclose xxxxx.o
fscanf yyyyy.o
getenv zzzzz.o
void __Crun::register_exit_code(void(*)()extern"C") aaaaaaaaaa.o
void operator delete(void*) aaaaaaaaaa.o
ld: warning: Symbol referencing errors

This is annoying because (a) the presence of these non-error errors can
confuse developers or release engineers looking through a logfile and
(b) this nannyish over-verbosity smacks of Windows[*]. So - do any
linker experts know how to say "give me what I want without warning me
that you're giving me what I want"?
[*] Personally I just hate when you quit a Windows install and even
after asking if you're sure it prints a message to the effect of
"warning, your install did not complete successfully". Or when you quit
Remote Desktop and it gives a warning to the effect that "you're not
going to lose any data; everything will be just the same when you
reconnect". I prefer to think of my relationship with Solaris as being a
little more mature.

Thanks,
HT
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:02 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com