https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285401

--- Comment #67 from Mark Millard <[email protected]> ---
(In reply to Dimitry Andric from comment #62)
(In reply to Baptiste Daroussin from comment #59)

Konstantin Belousov wrote a 3 word reply to my
notes about referencing libsys.so* that went to
the toolchain list:

QUOTE
Linker must not.
END QUOTE

So: deliberate!

Not surprising but it still leaves me wondering about
if there is something that can be done to have the
linker used on/for main [so: 15 and later] explicitly
report the likes of:

ld: error: non-exported symbol 'environ' in '/usr/lib/crt1.o' is referenced by
DSO '/lib/libc.so.7'
ld: error: non-exported symbol '__progname' in '/usr/lib/crt1.o' is referenced
by DSO '/lib/libc.so.7'

when local: * has been used --instead of silently
producing a file that does not work but reporting it
only later at run time on/for 15+.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to