[LLVMbugs] [Bug 8808] clang -m32 does not pass -L/usr/lib32 to the linker

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 21 07:32:06 PDT 2011


Roman Divacky <rdivacky at freebsd.org> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |rdivacky at freebsd.org
         Resolution|                            |FIXED

--- Comment #4 from Roman Divacky <rdivacky at freebsd.org> 2011-06-21 09:32:04 CDT ---
this has been already fixed:

pes $ clang -m32 -v hello.c
clang version 3.0 (trunk 133513)
Target: i386-unknown-freebsd8.2
Thread model: posix
 "/usr/local/bin/clang" -cc1 -triple i386-unknown-freebsd8.2 -emit-obj
-mrelax-all -disable-free -main-file-name hello.c -mrelocation-model static
-mdisable-fp-elim -masm-verbose -mconstructor-aliases -target-cpu i486
-target-linker-version 2.15 -momit-leaf-frame-pointer -v -resource-dir
/usr/local/bin/../lib/clang/3.0 -ferror-limit 19 -fmessage-length 116
-fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-C7PT95.o
-x c hello.c
clang -cc1 version 3.0 based upon llvm 3.0svn hosted on
ignoring nonexistent directory "/usr/include/clang/3.0"
ignoring duplicate directory "/usr/local/bin/../lib/clang/3.0/include"
#include "..." search starts here:
#include <...> search starts here:
End of search list.
 "/usr/local/bin/ld" --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1 -m
elf_i386_fbsd -o a.out crt1.o crti.o crtbegin.o -L/usr/lib32 /tmp/cc-C7PT95.o
-lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s
--no-as-needed crtend.o crtn.o

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list