I confirm this too (just hit this bug). It has been reported however that the same GCC version (4.1.2) compiled from vanilla sources does work correctly with that snippet of code.
-- [fixed in 4.2] linker error with -fvisibility-inlines-hidden https://bugs.launchpad.net/bugs/109262 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs