[Bug 397] -fvisibility-inlines-hidden causes undefined symbols

For more information about this bug, visit

peter [dot] soetens [..] ... changed:

What |Removed |Added
---------------------------------------------------------------------------
Target Milestone|--- |1.0.4
Resolution| |FIXED
Status|NEW |RESOLVED

------- Comment #1 from peter [dot] soetens [..] ... 2007-05-08 22:43

Fixed on rtt/branch-1.0

$ svn ci -m"Fix bug #397: -fvisibility-inlines-hidden causes undefined
symbols."
Sending packages/os/gnulinux/current/cdl/gnulinux.cdl
Sending packages/os/lxrt/current/cdl/lxrt.cdl
Sending packages/os/xenomai/current/xenomai.cdl
Transmitting file data ...
Committed revision 28076.

[Bug 397] New: -fvisibility-inlines-hidden causes undefined symb

For more information about this bug, visit
A new bug was added:
Summary: -fvisibility-inlines-hidden causes undefined symbols
Product: RTT
Version: 1.0.3
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Build System
AssignedTo: orocos-dev [..] ...
ReportedBy: peter [dot] soetens [..] ...

The RTT 1.0.x releases are compiled with the gcc 4.x flag
"-fvisibility-inlines-hidden". In recent GCC versions, this causes
undefined symbols if different files of the program or library are compiled
with different optimisation flags. I'm not sure if this is a GCC bug or
a 'feature'. Removing this flag causes a larger symbol lookup table, resulting
in a larger library.

This flag was already removed from the RTT 1.2 branch.