Displaying 20 results from an estimated 25 matches for "dumpmachin".
Did you mean:
dumpmachine
2004 Sep 17
2
[LLVMdev] Inline Assembly (unique arch string for llvm)
...and implement a new target in glibc based on that
machine string.
So I propose that llvm-gcc not consider itself any type of x86-linux (or
what ever it platform it was compiled on), but rather create a new
architecture, say llvm (or perhaps 2, one for each bit and little
endian). Thuse llvm-gcc -dumpmachine would return llvm-os.
This would make system library (and OS kernel!) ports easier to maintain
since arch llvm would be supported by adding stuff rather than changing
stuff, and all the inline asm for known archs would go away and the C
version would be used. In most cases the config scripts sho...
2014 Jan 10
2
EFI build problems
...eaving directory `/home/wferi/syslinux/syslinux/efi32/efi'
>> make[2]: *** [efi] Error 2
>> [...]
>
> This is a build-system bug in mk/efi.mk. I'm looking at adding a
> condition to prevent this.
Would you perhaps be building on an x86_64 OS (as shown by 'gcc
-dumpmachine') but not have gcc-multilib installed?
--
-Gene
2008 Mar 30
2
[LLVMdev] Compiling llvm-gcc on amd64 with 32 bits: assembler still carps
...7: Error: suffix or operands invalid for `push'
/tmp/ccuWW3r0.s:37: Error: suffix or operands invalid for `call'
/tmp/ccuWW3r0.s:55: Error: suffix or operands invalid for `push'
/tmp/ccuWW3r0.s:65: Error: suffix or operands invalid for `call'
make: *** [crtbegin.o] Error 1
./xgcc -dumpmachine gives
i686-pc-linux-gnu
so this is OK.
The reported lines are:
27 pushl %ebp
37 call *%edx
55 pushl %ebp
65 call *%eax
What's wrong?
Regards,
Jo
P.S.: I'm running with a freshly compiled and PATH-installed llvm
package with...
2004 Sep 17
0
[LLVMdev] Inline Assembly (unique arch string for llvm)
On Thu, 16 Sep 2004, Andrew Lenharth wrote:
> So I propose that llvm-gcc not consider itself any type of x86-linux (or
> what ever it platform it was compiled on), but rather create a new
> architecture, say llvm (or perhaps 2, one for each bit and little
> endian). Thuse llvm-gcc -dumpmachine would return llvm-os.
Hrm, I would much rather just have LLVM be a drop in replacement for a C
compiler. As such, it should expose identical #defines to GCC.
> This would make system library (and OS kernel!) ports easier to maintain
> since arch llvm would be supported by adding stuff rat...
2008 Mar 30
0
[LLVMdev] Compiling llvm-gcc on amd64 with 32 bits: assembler still carps
...or `push'
> /tmp/ccuWW3r0.s:37: Error: suffix or operands invalid for `call'
> /tmp/ccuWW3r0.s:55: Error: suffix or operands invalid for `push'
> /tmp/ccuWW3r0.s:65: Error: suffix or operands invalid for `call'
> make: *** [crtbegin.o] Error 1
>
>
> ./xgcc -dumpmachine gives
> i686-pc-linux-gnu
> so this is OK.
>
> The reported lines are:
> 27 pushl %ebp
> 37 call *%edx
> 55 pushl %ebp
> 65 call *%eax
>
> What's wrong?
>
> Regards,
> Jo
>
> P.S.:...
2008 May 29
1
[LLVMdev] problems compiling gcc frontend: Error: bad register name `%rbp'
...re a number of postings in March. The issue seemed to not
have been fully resolved but
I added "i686-pc-linux-gnu" to the end of my command line
and now the whole thing compiles.
I cannot find a llvm-gcc binary in my install directory, all I have is
gcc which reports:
../export/bin/gcc -dumpmachine
i686-pc-linux-gnu
It turns out I can generate llvm assembler output using "-S -emit-llvm"
but using just -emit-llvm does not work
./gcc -emit-llvm /home/robertm/hello.c
/tmp/cc3X2m5t.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
Is this expect...
2012 Dec 26
0
[PATCH] Fix building with MSYS and MinGW(-w64); Improve Makefile.lite build system
...-w64 with the following invocation:
make -f Makefile.lite libFLAC libFLAC++ flac metaflac test_libs_common
test_libFLAC test_libFLAC++ test_grabbag test_seeking test_streams utils
examples
This patch addresses eight points:
1. `uname -p` in MSYS returns "unknown" so we must use `gcc
-dumpmachine` to gain information about the target, 32-bit or 64-bit.
2. MinGW-w64 does not ship with a working iconv.h, so we must disable it
under this specific compiler.
3. The code requires <inttypes.h> in a handful of C files, but config.mk
did not contain -DHAVE_INTTYPES_H, which under the full b...
2014 Sep 11
3
[LLVMdev] patch for DragonEgg 3.3
Hi - attached is a patch to enable building DragonEgg (x86_64) for LLVM3.3 and LLVM3.4. That is, add these changes to the 3.3 release, and it becomes possible to build DragonEgg against a llvm3.4 compiler.
Regards,
Richard Gorton
Cognitive Electronics
rcgorton at cog-e.com
----------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name:
2004 Sep 29
0
[LLVMdev] LLVM build error (sparc gcc 3.2.2)
...error?
> Thanks a lot for your time and help.
The backend is designed for SparcV9 and uses inline assembly, some of
which may be V9-only. Your error indicates that your GCC was configured
for SparcV8 instead. One way to check what your GCC thinks it's
compiling for is as follows:
% gcc -dumpmachine
sparcv9-sun-solaris2.8
If your output is "sparcv8-...", then you may need to build a new
version of GCC.
--
Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu
2004 Oct 07
0
[LLVMdev] problem with lli (llvm 1.3)
On Thu, Oct 07, 2004 at 06:46:18PM -0400, Shukang Zhou wrote:
> Thanks Misha. I tried the "gcc -dM -E /tmp/file.c | grep __sparcv9"
> but there was no output. Maybe this is the probelm, I do have
>
> CXX = g++ -mcpu=v9
> CC := gcc -mcpu=v9
>
> in the Makefile.config. Do I need to add -m64 as well? Thanks.
Just run the test that I mentioned before:
> On Thu, 7
2004 Oct 07
1
[LLVMdev] problem with lli (llvm 1.3)
...define __sparcv9 1
If the above command gives no output, then try again, specifying -m64.
The key is to get __sparcv9 #defined, because there is code in the
SparcV9 JIT that is conditionally compiled based on it.
If none of the above define __sparcv9, what is the output of the
following?
% gcc -dumpmachine
--
Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu
2004 Oct 07
2
[LLVMdev] problem with lli (llvm 1.3)
Thanks Misha. I tried the "gcc -dM -E /tmp/file.c | grep __sparcv9" but
there was no output. Maybe this is the probelm, I do have
CXX = g++ -mcpu=v9
CC := gcc -mcpu=v9
in the Makefile.config. Do I need to add -m64 as well? Thanks.
Shukang
On Thu, 7 Oct 2004, Misha Brukman wrote:
> Is your compiler configured to define __sparcv9 when it compiles?
> The following should tell
2012 Dec 27
4
[PATCH] Makefile.lite: Fix building with MSYS and MinGW(-w64), Improvements
...-w64 with the following invocation:
make -f Makefile.lite libFLAC libFLAC++ flac metaflac test_libs_common
test_libFLAC test_libFLAC++ test_grabbag test_seeking test_streams utils
examples
This patch addresses eight points:
1. `uname -p` in MSYS returns "unknown" so we must use `gcc
-dumpmachine` to gain information about the target, 32-bit or 64-bit.
2. MinGW-w64 does not ship with a working iconv.h, so we must disable it
under this specific compiler.
3. The code requires <inttypes.h> in a handful of C files, but config.mk
did not contain -DHAVE_INTTYPES_H, which under the full b...
2014 Jan 10
0
EFI build problems
...inux/syslinux/efi32/efi'
>>> make[2]: *** [efi] Error 2
>>> [...]
>>
>> This is a build-system bug in mk/efi.mk. I'm looking at adding a
>> condition to prevent this.
>
> Would you perhaps be building on an x86_64 OS (as shown by 'gcc
> -dumpmachine') but not have gcc-multilib installed?
Absolutely! Now I installed gcc-multilib, and make still fails with:
make[3]: Leaving directory `/home/wferi/syslinux/syslinux-multilib/efi32/sample'
make -r -C efi SRC="/home/wferi/syslinux/syslinux-multilib/efi" OBJ="/home/wferi/sy...
2004 Sep 29
4
[LLVMdev] LLVM build error (sparc gcc 3.2.2)
Hi,
I met some errors when I tried to build LLVM. The tar file is
llvm-1.3.tar.gz. I am using a sparc machine with gcc 3.2.2.
-------------
Compiling SparcV9CodeEmitter.cpp
/uf24/zhou/research/llvm/src/lib/Target/SparcV9/SparcV9CodeEmitter.cpp: In
static member function `static void
llvm::<unnamed>::JITResolver::CompilationCallback()':
2008 Mar 30
2
[LLVMdev] Compiling llvm-gcc on amd64 with 32 bits: assembler still carps
...37: Error: suffix or operands invalid for `call'
> > /tmp/ccuWW3r0.s:55: Error: suffix or operands invalid for `push'
> > /tmp/ccuWW3r0.s:65: Error: suffix or operands invalid for `call'
> > make: *** [crtbegin.o] Error 1
> >
> >
> > ./xgcc -dumpmachine gives
> > i686-pc-linux-gnu
> > so this is OK.
> >
> > The reported lines are:
> > 27 pushl %ebp
> > 37 call *%edx
> > 55 pushl %ebp
> > 65 call *%eax
> >
> > Wha...
2004 Sep 17
2
[LLVMdev] Inline Assembly (unique arch string for llvm)
...004, Andrew Lenharth wrote:
> > So I propose that llvm-gcc not consider itself any type of x86-linux (or
> > what ever it platform it was compiled on), but rather create a new
> > architecture, say llvm (or perhaps 2, one for each bit and little
> > endian). Thuse llvm-gcc -dumpmachine would return llvm-os.
>
> Hrm, I would much rather just have LLVM be a drop in replacement for a C
> compiler. As such, it should expose identical #defines to GCC.
A drop in replacement for "a C compiler" is rather a different
requirement than a drop in replacement for GCC....
2008 May 29
0
[LLVMdev] problems compiling gcc frontend: Error: bad register name `%rbp'
On May 28, 2008, at 5:22 PM, robert muth wrote:
> I have problem compiling the gcc frontend.
> Almost everything seems to compile but at the very end
> when crt startup files are compiled, the assembler complains
> about bad registers.
> Any idea what I am doing wrong?
> Thanks,
> Robert
It looks like your assembler is being invoked in 32-bit mode. Other
people have had
2004 Sep 13
0
[LLVMdev] Inline Assembly
Reid Spencer wrote:
> In order to get to the next stage with LLVM (like compiling a kernel) we
> need to allow "pass through" of inline assembly so things like device
> drivers, interrupt vectors, etc. can be written. While this feature
> breaks the "pure" LLVM IR, I don't see any way around it.
<shameless plug>
Actually, there should be a way around it.
2008 May 29
2
[LLVMdev] problems compiling gcc frontend: Error: bad register name `%rbp'
I have problem compiling the gcc frontend.
Almost everything seems to compile but at the very end
when crt startup files are compiled, the assembler complains
about bad registers.
Any idea what I am doing wrong?
Thanks,
Robert
HOST:
os: ubuntu 2.6.18 kernel x86_64 GNU/Linux
compiler: gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
SOURCE:
svn trunk gcc4.2
CONFIGURE: