http://llvm.org/bugs/show_bug.cgi?id=11475

             Bug #: 11475
           Summary: LLVMgold.so link segfault
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Support Libraries
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


ld is crashing when the -plugin is specified more then once.

here the output of a compile:

x86_64-pc-linux-gnu-gcc -c  -I/usr/include -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=k8
-msse3 -O2 -pipe --plugin=/usr/lib64/llvm/dragonegg.so    -DVERSION=\"2.043\"
-DXS_VERSION=\"2.043\" -fPIC
"-I/usr/lib64/perl5/5.12.4/x86_64-linux-thread-multi/CORE"  -DNO_VIZ  
-DGZIP_OS_CODE=3 -DUSE_PPPORT_H Zlib.c
rm -f blib/arch/auto/Compress/Raw/Zlib/Zlib.so
LD_RUN_PATH="/usr/lib64" x86_64-pc-linux-gnu-gcc  -shared -march=k8 -msse3 -O2
-pipe --plugin=/usr/lib64/llvm/dragonegg.so -Wl,--hash-style=gnu,-O1
-Wl,--as-needed -Wl,-plugin=/usr/lib64/llvm/LLVMgold.so  Zlib.o
-Wl,--hash-style=gnu,-O1 -Wl,--as-needed
-Wl,-plugin=/usr/lib64/llvm/LLVMgold.so  -o
blib/arch/auto/Compress/Raw/Zlib/Zlib.so  \
   -L/usr/lib64 -lz     \

collect2: ld mit Signal 11 [Speicherzugriffsfehler] beendet
make: *** [blib/arch/auto/Compress/Raw/Zlib/Zlib.so] Fehler 1

as you can see the LLVMgold.so is added twize 
it schould not crash with segmentation fault

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to