[DragonFlyBSD - Bug #2204] -Wl,--warn-common warnings

John Marino via Redmine bugtracker-admin at leaf.dragonflybsd.org
Wed May 9 07:18:29 PDT 2012


Issue #2204 has been updated by John Marino.


Multiple definitions of environ is intentional:
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c54b5d8d8e1af1fe69da36b12d2ba79580a9ce55

I copied NetBSD's approach to dealing with "local: *;" linker map issue:
https://github.com/jsonn/src/commit/ce0daca9361b087c4759912584fedccfc8cb4d61#lib/libc/stdlib

Christos notes the better solution would be to move __environ and __progname from csu to libc.

----------------------------------------
Bug #2204: -Wl,--warn-common warnings
http://bugs.dragonflybsd.org/issues/2204

Author: Sepherosa Ziehau
Status: New
Priority: Normal
Assignee: 
Category: 
Target version: 


I get following warning when linking programs w/ -W,--warn-common

/usr/lib/libc.so: warning: multiple common of `environ'
/usr/lib/crt1.o: warning: previous common is here

v2.13.0.285.g8db21-DEVELOPMENT

World is at the save git version as kernel

Best Regards,
sephe

-- 
Tomorrow Will Never Die


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account





More information about the Bugs mailing list