similar to: [LLVMdev] help with an error message using clang ?

Displaying 20 results from an estimated 9000 matches similar to: "[LLVMdev] help with an error message using clang ?"

2011 Sep 16
0
[LLVMdev] help with an error message using clang ?
On Fri, Sep 16, 2011 at 4:40 PM, Christine Cheng <clcheng at stanford.edu> wrote: > Hi, > > I am new to LLVM and clang and I would like to seek some professional help. > :) > > I have been trying to compile some C code on a linux x86 computer for a > Sparc machine. > > I used: > >  clang -ccc-host-triple sparc-unknown-linux -ccc-clang-archs sparc -pthreads
2011 Sep 17
1
[LLVMdev] help with an error message using clang ?
Hi Eli, Thanks for the reply. Indeed there is solaris on the Sparc machine. I was told that it is quite difficult to install LLVM there so I am doing what I am doing. Is there a way for me to get headers from the target Sparc machine without installing LLVM there? Best, Christine On Fri, Sep 16, 2011 at 4:56 PM, Eli Friedman <eli.friedman at gmail.com>wrote: > On Fri, Sep 16, 2011 at
2018 Dec 10
2
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello again! Tried out the small Hello World Setup, worked as intended: root at christian-forschung-virtual-machine:/home/progs# clang -v --target=arm-linux-gnueabihf hello.c -o hello -fuse-ld=lld clang version 8.0.0 (https://git.llvm.org/git/clang.git/ a152c7a4b7ba8f4cb9532ead9a38a7121db43d50) (https://git.llvm.org/git/llvm.git/ 1959ce6f3e01241919968ac1911fd45660239d23) Target:
2018 Dec 13
2
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello Peter and Lists, thanks a lot, that way it worked out! The final cmake was cmake -G "Ninja" ../llvm/projects/compiler-rt/ -DCOMPILER_RT_BUILD_BUILTINS=ON -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF -DCOMPILER_RT_BUILD_LIBFUZZER=OFF -DCOMPILER_RT_BUILD_PROFILE=OFF -DCMAKE_C_COMPILER=/usr/local/myclang/bin/clang -DCMAKE_AR=/usr/local/myclang/bin/llvm-ar
2018 Dec 14
3
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello again Christian, I've posted https://reviews.llvm.org/D55709 to see if we can get the documentation on how to cross-compile compiler-rt improved. I'll be out of office until next year so I may be a bit slow to respond to any follow ups. Peter On Thu, 13 Dec 2018 at 17:10, Peter Smith <peter.smith at linaro.org> wrote: > > Hello Christian, > > I've just
2011 Sep 15
2
[LLVMdev] problem with sgt's on Sparc machine
Hi Duncan, Thanks for the reply! There is no LLVM on the Sparc machine so I cannot compile my code there into .s file. How shall I modify the target data layout and triple so it works on Sparc? Basically I got these from compiling C code using llvm-gcc. Best, Christine On Thu, Sep 15, 2011 at 10:20 AM, Duncan Sands <baldrick at free.fr> wrote: > Hi, > > > target datalayout =
2019 Feb 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello Christian, I've put some comments inline, On Sun, 3 Feb 2019 at 13:11, Christian Richter <christian.richter at hsu-hh.de> wrote: > > Hello again, > > so after I successfully build the compiler-rt for armv6 I tried to > actually use it in compiling a small helloworld for a baremetal arm > (consisting of barehelloCLANG.c and a small io.h + io.c) , but the >
2011 Sep 15
0
[LLVMdev] problem with sgt's on Sparc machine
On Thu, Sep 15, 2011 at 11:06 AM, Christine Cheng <clcheng at stanford.edu> wrote: > Hi Duncan, > > Thanks for the reply! There is no LLVM on the Sparc machine so I cannot > compile my code there into .s file. How shall I modify the target data > layout and triple so it works on Sparc? Basically I got these from compiling > C code using llvm-gcc. You can use clang for
2019 Mar 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello Christian, I'd expect that adding the library paths (-L) from gcc -v should fix the unable to find -lc, -lm but it won't fix the -lclang_rt.builtins-armv6m.a . To get clang_rt.builtins-armv6m.a you will need to cross compile compiler-rt for v6m and copy it to /usr/local/myclang/lib/clang/8.0.0/lib/baremetal . Beware that building compiler-rt for v6m does need quite a bit of fighting
2019 Mar 11
2
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello Christian, I reran my script with a similar cmake command to yours. After the build finished the following command from the build directory gave me: find . -name \*builtins.a ./lib/clang/9.0.0/armv6m-none-eabi/lib/libclang_rt.builtins.a ./lib/clang/9.0.0/armv7m-none-eabi/lib/libclang_rt.builtins.a ./lib/clang/9.0.0/armv7em-none-eabi/lib/libclang_rt.builtins.a I hope you see something like
2011 Sep 16
2
[LLVMdev] problem with sgt's on Sparc machine
Hello, What is your LLVM version? Also, can you attach the assembly generated? Thanks, Venkatraman On Thu, Sep 15, 2011 at 5:20 PM, Bruno Cardoso Lopes <bruno.cardoso at gmail.com> wrote: > Hi, > > On Thu, Sep 15, 2011 at 3:15 PM, Christine Cheng <clcheng at stanford.edu> wrote: >> Hi guys, >> >> Thanks for the input. However, it seems that the code
2011 Dec 18
2
[LLVMdev] clang with multiple input .c and .h files
Hello, I would like to generate LLVM byte code for some .c and .h files in a benchmark. Is Clang (or llvm-gcc) has an option for me to input multiple c files and generate 1 byte code file? I think generating byte code for each .c file and compile and link them later is not a good idea since the programs are related to each other. Any suggestions about how I should do it? gcc has a
2011 Aug 18
3
[LLVMdev] tools to debug human readable llvm assembly bc code?
Hi, I am working with a long llvm bc code in human readable form. I am wondering is there a tool like gdb to help me debug that piece of code? Thanks, Christine -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110818/9ae5dec7/attachment.html>
2011 Sep 15
2
[LLVMdev] problem with sgt's on Sparc machine
Hi guys, Thanks for the input. However, it seems that the code still produces the wrong output on a Sparc machine. My current llvm_print.bc code is: -------------------------------------------------------------------------------------------------- ; MduleID = '<stdin>' target datalayout =
2011 Sep 15
0
[LLVMdev] problem with sgt's on Sparc machine
Hi, On Thu, Sep 15, 2011 at 3:15 PM, Christine Cheng <clcheng at stanford.edu> wrote: > Hi guys, > > Thanks for the input. However, it seems that the code still produces the > wrong output on a Sparc machine. > > My current llvm_print.bc code is: > -------------------------------------------------------------------------------------------------- > ; MduleID =
2007 Oct 06
1
GFS-kernel module - Version Magic Error
Are the RPMs for the latest GFS kernel module GFS-kernel-2.6.9-72.2.0.8 to be used with the version 2.6.9-55.0.9.EL available ? I tried to compile the Source RPMs available from the Red Hat site but the modules can't be loaded because of invalid module format arising from version magic issues. The syslog shows: node0 kernel: gfs: version magic '2.6.9-55.0.9.ELsmp SMP 686 REGPARM
2020 Jul 28
2
[PATCH] Add syscall wrappers required by libkeyutils
On 2020-07-27 19:20, hpa at zytor.com wrote: > > I'm not so sure they have dealt with it in the sense of having it work on all architectures. *Most* of the problems are related to the shifting the arguments by one, which can cause a bunch of problems, especially if it means the arguments spill to memory. However, I have absolutely no idea how to correctly implement syscall(3) on s390
2004 Aug 09
3
Fedora FC2 and Zaptel (Torisa)
Followed the "instructions" on voip-info.org regardinging fedora FC2, making Zaptel seems to work fine, however when I modprobe I get this. It looks like a version mismatch somehow. Ideas? If this ooc, sorry first post here :-) modprobe tor2 WARNING: Error inserting zaptel (/lib/modules/2.6.5-1.358smp/misc/zaptel.ko): Invalid module format WARNING: Error inserting zaptel
2011 Sep 16
0
[LLVMdev] problem with sgt's on Sparc machine
Hi Venkatraman, I am using LLVM 2.8 and llvm-gcc 4.2. The assembly files are attached. In the assembly file, the erroneous result is associated with 'subcc', while the correct ones are associated with 'or'. Thanks a lot! Christine On Fri, Sep 16, 2011 at 2:29 PM, Venkatraman Govindaraju < venkatra at cs.wisc.edu> wrote: > Hello, > > What is your LLVM version?
2004 Jul 27
1
warning killing for poor !LANG=C|US people
--- ../multipath-tools-0.2.8.1/klibc/klibc/arch/i386/MCONFIG 2004-07-20 10:51:42.000000000 +0200 +++ klibc/klibc/arch/i386/MCONFIG 2004-07-27 17:10:12.000000000 +0200 @@ -13,7 +13,7 @@ # them to be cdecl # REGPARM = -mregparm=3 -DREGPARM -gcc_major := $(shell $(CC) -v 2>&1 | awk '/gcc version/{print int($$3)}') +gcc_major := $(shell unset LANG;$(CC) -v 2>&1 | awk