Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#14111 - llvm needs to be recompiled with -fPIC

Attached to Project: Community Packages
Opened by Martin Sandsmark (sandsmark) - Sunday, 05 April 2009, 17:27 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 17 April 2009, 19:23 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Geoffroy Carrier (gcarrier)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

When building opengtl (a dependency of koffice):
/usr/bin/ld: /usr/lib/LLVMInterpreter.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Friday, 17 April 2009, 19:23 GMT
Reason for closing:  Fixed
Additional comments about closing:  llvm 2.5-2
Comment by Gerardo Exequiel Pozzi (djgera) - Thursday, 16 April 2009, 00:26 GMT
@Geoffroy: Please review my mail that i was sended with the proposed PKGBUILD.

http://www.archlinux.org/pipermail/aur-general/2009-April/004638.html

While fixing the insecure RPATH in community/llvm package [#1] also
fixed some others issues that I encountered.
(List of files in the generated packaged can viewed here [#2])

This is the list of changes from the original PKGBUILD:

0) Updated to the latest llvm version.
1) Removed libtool dependency, is only needed at build time.
2) Use the license from tarball, instead of downloading it, since is the
same, that are in webpage.
3) Fixed libdir, use /usr/lib/llvm instead of /usr/lib, this is more
apropiated since llvm put some .o files that are relocatable.
4) Fixed insecure rpath in all binary files.
5) Fixed the path from scripts gccld and gccas that points to build
directory instead of /usr/bin
6) Removed the build of sample hello transformation.
7) Use PIC code on x86_64 builds (--enable-pic).
8) Build only for the target machine instead of all supported.
9) Added --enable-bindings=none, since if ocaml is installed will build
some files for it.
10) Put --enable-optimized at configure script intead of make var.
11) Build a more "release" code with options: --disable-assertions and
--disable-expensive-checks
12) Force one job at installation step since more than one job fails.

[#1]  FS#14017  - [llvm] insecure RPATH (
http://bugs.archlinux.org/task/14017 )
[#2] List of files in the package http://djgera.pastebin.com/f95daaa0
   PKGBUILD (1.8 KiB)
Comment by Andrea Scarpino (BaSh) - Friday, 17 April 2009, 19:21 GMT
I'm building djgera's PKGBUILD as llvm-2.5-2

Loading...