similar to: 32bit development on x86-64

Displaying 20 results from an estimated 4000 matches similar to: "32bit development on x86-64"

2012 Jun 19
2
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
Hello Gergö, Joerg and people on our list With your kind answer, I tried to build a hello world program for ARM(arm-none-linux-gnueabi) on my x86-64 PC. Thank you we verified the generated bitcode. The only thing remained is linking. Let me brief what I did so far. 1. Built Clang/llvm in a way explained in http://clang.llvm.org/get_started.html on Ubuntu 11.10 x86-64 PC 2. Downloaded gcc-4.0
1999 Jul 09
1
"ld: bfd assertion fail" making eda.so on Linux (Redhat 6.0)
I've (remote) access to a new Linux system which has some flavor of Rehat installed. Compiling R-0.64.2 fails -- at the end when eda.so should be made. make[4]: Entering directory `/u/u2/maechler/Linux/R/R-0.64.2/src/library/eda/src' gcc -g -O2 -fpic -I../../../../include -c line.c -o line.o gcc -g -O2 -fpic -I../../../../include -c smooth.c -o smooth.o ld -shared -o
2012 Jun 20
3
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
Hello, Thank you for your kind attention to my issue and your help. I changed the tool chain and tried again. And there is a little progress but still have some problem. Using --sysroot doesn't make clang use linker(ld) in the cross tool. Most important question is how I can make clang use cross tool linker. Let me show you my experiment and questions below. There are two questions. [Run]
2010 Jun 28
2
[LLVMdev] libLLVMgold.so: could not load plugin library
On 6/26/2010 10:30 AM, Rafael Espindola wrote: >> So the gold and the LLVMgold are linked against the same libstdc++. I am >> using the gcc at /s/gcc-4.3.1/i386_rhel5/bin to compile the LLVM chain. > Can you run llvm-gcc again with -Wl,-debug? This will show the linker > line being used. You can then run gdb on it. Try to find what error is > dlopen reporting. I wonder if gold
2012 May 23
3
[LLVMdev] problem on clang+gold
Hi there, I compiled clang+gold using a gcc under path /s/gcc-4.3.1/bin/. Later on I do configure and make for flex-2.5.35, and the following command is invoked: "/path/to/my/gold/ld" --hash-style=gnu --no-add-needed --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o flex /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../crt1.o
2012 Jun 18
0
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
On Sat, Jun 16, 2012 at 08:20:23PM +0900, Journeyer J. Joh wrote: > If the cross compiling is supported, is there any documentation on how to > do it? The short version is: assuming you have a cross-binutils installation using e.g. x86_64--netbsd-as and x86_64--netbsd-ld, you add a symlink called x86_64--netbsd-clang to clang and just call that with an appropiate --sysroot to make it find
2012 May 29
7
efibootmgr not working on xen-unstable booted on uefi system
I have installed dom0 Wheezy 64 bit on Dell PowerEdge T310 with kernel from package and xen-unstable. System is in Uefi mode and booted with grub-efi-amd64. Booting without xen efibootmgr works, while with xen not, efivars kernel module is loaded but show this message: efibootmgr Fatal: Couldn''t open either sysfs or procfs directories for accessing EFI variables. Try ''modprobe
2018 Feb 27
0
CentOS 7 / Xen 4.6 on UEFI system?
Wondering if anyone has managed to get Xen to boot from UEFI? We have a relatively new server with a Supermicro X11SSH-F mainboard with an M.2 SSD. If we switch the boot mode to Legacy in the BIOS no boot devices show up. The vendor says this is because M.2 SSD is only supported in UEFI mode. We even tried installing some spinning SATA drives and a USB thumb drive but those don't show up as
2012 Jun 16
4
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
Hello list, I wonder if llvm/Clang can compile C or C++ for ARM from on x86. http://comments.gmane.org/gmane.comp.compilers.clang.devel/8896 The talk above answered 'NO' to my question, which means Clang is not yet able to cross compile for ARM on X86. Is the answer still correct for my question? I saw somewhere that Clang supports ARM on Darwin only. Then is the cross compiling
2012 Jun 19
0
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
Hello > ./clang -v -emit-llvm -ccc-host-triple arm-none-linux-gnueabi > -I/home/hum/Documents/Projects/llvm_clang/gnuarm-4.0.2/arm-elf/include > -L/home/hum/Documents/Projects/llvm_clang/gnuarm-4.0.2/arm-elf/bin hello.c You forgot about sysroot here. > /home/hum/Documents/Projects/llvm_clang/gnuarm-4.0.2/arm-elf/bin/ld: > unrecognised emulation mode: armelf_linux_eabi >
2005 Oct 25
2
[LLVMdev] newbie llc build problem: BreakCriticalEdges.cpp:44: undefined reference to `llvm::LoopSimplifyID'
Hi, Looking into LLVM for a database query engine project... After downloading the latest source from CVS, it's my first time trying to build LLVM. Following the "Getting Started" instructions, all went well until gmake reported this error while trying to link llc: In function `(anonymous namespace)::BreakCriticalEdges::getAnalysisUsage(llvm::AnalysisUsage&) const':
2007 Mar 07
0
[LLVMdev] llvm compile error
dear community, sorry for posting again a beginner's question but i can't find a solution on my own. i installed all llvm and llvm-gcc4 in a directory called "~/programs/llvm/install" in my home folder. i can build a test c - file as follows: ~/programs/llvm/install/bin/gcc -v -o test test.c Using built-in specifications. Target: i686-pc-linux-gnu Configured with:
2007 Aug 24
0
[LLVMdev] Documentation error in http://llvm.org/docs/LinkTimeOptimization.html
On Aug 24, 2007, at 1:45 PM, Holger Schurig wrote: > $ llvm-gcc --emit-llvm -c a.c -o a.o > $ llvm-gcc -c main.c -o main.o > $ llvm-gcc a.o main.o -o main > a.o: file not recognized: File format not recognized > collect2: ld returned 1 exit status > > Okay, that did not really work :-/ This document describes interface between llvm and linker. You need system linker that
2013 Feb 26
2
[LLVMdev] make error building llvm/clang 3.2 on Linux
Just in case someone is having similar problems and/or following this thread, here's my final "solution" (at least, for now). In my bash build script, prior to configure, I set the C_INCLUDE_PATH and CPLUS_INCLUDE_PATH to empty strings, and then set some other environment variables instead: export C_INCLUDE_PATH= export CPLUS_INCLUDE_PATH=
2007 Aug 24
1
[LLVMdev] Documentation error in http://llvm.org/docs/LinkTimeOptimization.html
> > $ llvm-gcc --emit-llvm -c a.c -o a.o > > $ llvm-gcc -c main.c -o main.o > > $ llvm-gcc a.o main.o -o main > > a.o: file not recognized: File format not recognized > > collect2: ld returned 1 exit status > > > > Okay, that did not really work :-/ > > This document describes interface between llvm and linker. You need > system linker that
2007 Mar 07
2
[LLVMdev] using dsa
Thank you Patrick! For anyone interested, I was able to get the mainline version of DSA to compile with the mainline version of LLVM. As Patrick pointed out, the mainline version of PoolAllocate does not compile with the mainline version of LLVM. So, I made a small change to llvm-poolalloc/lib/Makefile in which I removed PoolAllocate from the line: PARALLEL_DIRS=DSA PoolAllocate After
2004 May 18
0
zaphfc Compile Error
Hi Running slackware 9.1 with compiled kernel patched to 2.6.6 running ok. Having problems compiling zaphfc.c First thing was the can't find "irq_vectors.h", but "solved" by changing the #include "irq_vectors.h" to #include "mach-default/irq_vectors.h" in /usr/src/linux/include/asm/ directory. But I still have errors with "structure has no
2010 Jul 21
1
[LLVMdev] gold and debug information
On 7/21/2010 1:59 PM, Rafael Espindola wrote: >> I do not know how to get the ld invocation you need. If this command is not >> what you need, please tell me how to get the ld invocation. > Add -Wl,-debug to the llvm-gcc call. That should print the ld command > line in the end.
2010 Jun 28
0
[LLVMdev] libLLVMgold.so: could not load plugin library
> The -Wl,-debug result is like this: > $LLVMGCCPREFIX/lib/gcc/i686-pc-linux-gnu/4.2.1/../../../../i686-pc-linux-gnu/bin/ld > -plugin $LLVMGCCPREFIX/libexec/gcc/i686-pc-linux-gnu/4.2.1/libLLVMgold.so > -plugin-opt=as=as --eh-frame-hdr -m elf_i386 -dynamic-linker > /lib/ld-linux.so.2 /usr/lib/crt1.o /usr/lib/crti.o > $LLVMGCCPREFIX/lib/gcc/i686-pc-linux-gnu/4.2.1/crtbegin.o >
2010 Jul 21
0
[LLVMdev] gold and debug information
> All the .o files are in the tarball. You can download it here (too large to > send through the list): > http://pages.cs.wisc.edu/~aliang/goldAndDebugTest.tar.gz There is also something strange with these files, buf.o is actually a .tar.gz file :-) > > Thanks, > Guoliang > Cheers, -- Rafael Ávila de Espíndola