[llvm-bugs] [Bug 39876] New: Enable 32 bit libraries in llvm 6.0.0 - issue

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Dec 4 01:46:36 PST 2018


            Bug ID: 39876
           Summary: Enable 32 bit libraries in llvm 6.0.0 - issue
           Product: new-bugs
           Version: 6.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: abinaya.manikandan at wipro.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org


We are using RedHat6 and RedHat7 machine.

As per our user request we are trying to build llvm - 6.0.0 by enabling 32 and
64 bit libraries.

Option that we are using in our build step is below:


*export CFLAGS="-O4 -m32 -m64"
*export LDFLAGS="-m32 -m64"

export CLANG_GCC=/opt/gcc/x86_64/6.1.0a/bin/gcc
            -DCMAKE_C_COMPILER=/opt/gcc/x86_64/6.1.0a/bin/gcc \
            -DCMAKE_CXX_COMPILER=/opt/gcc/x86_64/6.1.0a/bin/g++ \
            -DGCC_INSTALL_PREFIX=/opt/gcc/x86_64/6.1.0a/ \
            -DCMAKE_CXX_LINK_FLAGS="-L/opt/gcc/x86_64/6.1.0a/lib64" \
            -Wno-dev  --enable-zlib -DCMAKE_BUILD_TYPE=Release \
            --enable-gold --enable-plugins \
            *-DLLVM_BUILD_32_BITS:BOOL=ON \
            --enable-targets \
            *-DLLVM_TARGETS_TO_BUILD="X86" \


make install 

NOTE: The line which highlighted with star (*) is the one added to enabled 32
and 64 bit.

Below mentioned URL where we referred: 


We are not sure how to enable 32 and 64 bit libraries in llvm - 6.0.0.

Can anyone please help us here to get llvm 32 and 64 bit libraries.


You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181204/73c82cf2/attachment.html>

More information about the llvm-bugs mailing list