[LLVMbugs] [Bug 11475] New: LLVMgold.so link segfault

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Dec 3 23:41:10 PST 2011


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: unassignedbugs at nondot.org
        ReportedBy: mario.fetka at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    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.



More information about the llvm-bugs mailing list