FS#19362 - [llvm] should be built with shared-library support

Attached to Project: Community Packages
Opened by Sebastien Binet (bins) - Wednesday, 05 May 2010, 07:36 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 10 May 2010, 11:56 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

hi there,

with llvm-2.7, we finally get the option to build .so instead of gazillions of archives.

could this be enabled by default ?

simply add:
--enable-shared

to the configure option.

also, it would be great to fix the list of exported symbols so the clang plugin loader would actually work.

I just added this to my PKGBUILD (just before the call to configure):

# get the correct list of symbols to export
# see: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2010-April/008559.html
/bin/cp $startdir/autoconf.ExportMap.map autoconf/ExportMap.map


cheers,
sebastien.
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Monday, 10 May 2010, 11:56 GMT
Reason for closing:  Implemented
Additional comments about closing:  llvm-2.7-3
Comment by Evangelos Foutras (foutrelis) - Thursday, 06 May 2010, 00:10 GMT
Looks like a good idea, as binary utilities simply link against the shared library, which in turn cuts the package size in half. The question is, why hasn't upstream enabled it by default? =]
Comment by Evangelos Foutras (foutrelis) - Monday, 10 May 2010, 10:55 GMT
Implemented both suggestions. They will appear in llvm-2.7-3 shortly. Thanks.

Loading...