llvm g++ statickly linking stdlibc++
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
llvm-gcc-4.2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: llvm-gcc-4.2
As per this report:
http://
Seems that Ubuntu's llvm-gcc package is statically linking libstdc++ into any simple program. Instead of 10k, the final image had 1.1MB with all stdlib calls directly linked to the image. G++ does it correctly.
I've compiled llvm and llvm-gcc from source (current svn) and it doesn't happen. The thread contains all the information plus the attachment to reproduce the error.
Ubuntu 9.10, fully updated. Pentium D, dual core, 3GB ram.
Issue: Ubuntu's release is 2.5 but I got the svn snapshot, which is considerably different, at least on the llvm side, I'm not sure about the llvm-gcc side.