bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/302] Add warning when ELF symbol visibility is not consistent


From: s_fsfeurope2 at nedprod dot com
Subject: [Bug ld/302] Add warning when ELF symbol visibility is not consistent
Date: 11 Oct 2004 09:15:28 -0000

------- Additional Comments From s_fsfeurope2 at nedprod dot com  2004-10-11 
09:15 -------
Ok, how about an /optional/ warning? I say this because unfortunately it's 
impossible to catch ODR violations at the compiler level so it must get caught 
at the linker level.

I was thinking that perhaps if g++ was used to invoke the linker it could 
silently enable this new optional warning.

I should emphasise that (i) this problem is unavoidable with the new visibility 
support and (ii) it causes hard-to-find breakages in exception handling. Some 
sort of debug output is required.

How about if debug symbols are present we print the warning?

Cheers,
Niall


-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=302

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]