On 28 October 2013 10:56, Logan Chien <[email protected]> wrote: > > The changes related to Ubuntu LGTM now. I have verified the change on > Ubuntu 12.04, 13.04, and 13.10. All of them are working without any problem. > However, I am not familiar with Fedora. Any comments from Fedora users?
I use Fedora. I tested by running $ clang test.o -o t -v 2>&1 | grep bin/ld | sed 's/ /\n/g' | grep 'dynamic\|ld-linux\|-L\|crt' > clang.list $ gcc test.o -o t -Wl,-debug 2>&1 | grep bin/ld | sed 's/ /\n/g' | grep 'dynamic\|ld-linux\|-L\|crt' > gcc.list On Fedora 19 x86_64, the difference is just that clang searches in more directories than gcc (diff attached). On Fedora 18 ARM, the difference is similar (also attached). Cheers, Rafael
--- clang.list 2013-10-28 11:17:53.654262402 -0400 +++ gcc.list 2013-10-28 11:20:41.161234225 -0400 @@ -7,9 +7,6 @@ -L/usr/lib/gcc/x86_64-redhat-linux/4.8.1/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 --L/usr/lib/gcc/x86_64-redhat-linux/4.8.1 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.1/../../.. --L/lib --L/usr/lib /usr/lib/gcc/x86_64-redhat-linux/4.8.1/crtend.o /usr/lib/gcc/x86_64-redhat-linux/4.8.1/../../../../lib64/crtn.o
--- clang.list 2013-10-28 11:35:48.513948078 -0400 +++ gcc.list 2013-10-28 11:35:33.473544822 -0400 @@ -5,7 +5,5 @@ /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2/crtbegin.o -L/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2 -L/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2/../../.. --L/lib --L/usr/lib /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2/crtend.o /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2/../../../crtn.o
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
