llvm g++ statickly linking stdlibc++

Bug #395339 reported by Renato Golin
6
This bug affects 1 person
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://lists.cs.uiuc.edu/pipermail/llvmdev/2009-July/023561.html

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.