[cfe-commits] [PATCH] r140645 breaks compilation on openSUSE

İsmail Dönmez ismail at namtrac.org
Thu Sep 29 03:14:31 PDT 2011


Hi;

r140645 removes /usr/ from the predefined paths list and adds /usr/lib/
instead while this might work for Debian based distributions it won't work
for openSUSE and SUSE since the crtbegin.o is in

/usr/lib64/gcc/x86_64-suse-linux/4.6/crtbegin.o (for x86-64)

which is

/usr + lib64/gcc + target_triple + gcc_version + crtbegin.o

Simple fix is to add /usr/ back to the predefined paths list. Patch
attached.

Regards,
ismail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110929/51a006e5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-r140645.patch
Type: text/x-patch
Size: 534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110929/51a006e5/attachment.bin>


More information about the cfe-commits mailing list