Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] -emit-llvm on ubuntu is broken"
2011 Mar 22
4
[LLVMdev] -emit-llvm on ubuntu is broken
Hi Eric,
here is my -emit-llvm -S -v output:
Using built-in specs.
COLLECT_GCC=gcc-4.5
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.5.1/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.5.1-7ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
2011 Mar 22
0
[LLVMdev] -emit-llvm on ubuntu is broken
Looks like something wonky with DragonEgg.
Duncan?
-eric
On Mar 21, 2011, at 7:05 PM, stackunderflow wrote:
>
> Hi Eric,
>
> here is my -emit-llvm -S -v output:
>
> Using built-in specs.
> COLLECT_GCC=gcc-4.5
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.5.1/lto-wrapper
> Target: i686-linux-gnu
> Configured with: ../src/configure -v
2011 Mar 22
0
[LLVMdev] -emit-llvm on ubuntu is broken
On Mar 21, 2011, at 6:36 PM, stackunderflow wrote:
>
> I try to generate a human readable .ll file on Linux. I installed llvm-gcc
> but as I see it can generate only assembly code (-S option). Is there any
> way to get something like what is generated by llvm online compiler?
>
> That's what I get with llvm-gcc -S -emit-llvm hello.c on Ubuntu 10.10:
llvm-gcc -v ?
-eric
2011 Mar 22
2
[LLVMdev] -emit-llvm on ubuntu is broken
Hi Eric,
> Looks like something wonky with DragonEgg.
you need to use -fplugin-arg-dragonegg-emit-ir or -flto with dragonegg,
not -emit-llvm. Also, you currently have to use -S (getting human readable
IR) rather than -c because with -c gcc will run cc1 with -S (getting human
readable IR) then pass the result to the system assembler which of course
barfs. This is documented on the web-page
2012 Oct 21
0
[LLVMdev] dragonegg polly support broken?
On 10/20/2012 05:38 PM, Jack Howarth wrote:
> Duncan,
> Is the documentation for using Polly support in dragonegg correct? I built llvm/polly/dragonegg
> using the documentation at http://polly.llvm.org/example_load_Polly_into_dragonegg.html
> with...
>
> GCC=/sw/lib/gcc4.7/bin/gcc-4 LLVM_CONFIG=/sw/opt/llvm-3.2/bin/llvm-config ENABLE_LLVM_PLUGINS=1 make
2011 Mar 22
1
[LLVMdev] -emit-llvm on ubuntu is broken
I am new to LLVM, what do you mean by Duncan?
Btw, I installed llvm from the repository: sudo apt-get install llvm
llvm-gcc
Eric Christopher-2 wrote:
>
> Looks like something wonky with DragonEgg.
>
> Duncan?
>
> -eric
>
> On Mar 21, 2011, at 7:05 PM, stackunderflow wrote:
>
>>
>> Hi Eric,
>>
>> here is my -emit-llvm -S -v output:
2012 Oct 21
2
[LLVMdev] dragonegg polly support broken?
Duncan,
Is the documentation for using Polly support in dragonegg correct? I built llvm/polly/dragonegg
using the documentation at http://polly.llvm.org/example_load_Polly_into_dragonegg.html
with...
GCC=/sw/lib/gcc4.7/bin/gcc-4 LLVM_CONFIG=/sw/opt/llvm-3.2/bin/llvm-config ENABLE_LLVM_PLUGINS=1 make CPPFLAGS="-DENABLE_LTO -I/sw/include"
The resulting dragonegg plugin works fine
2012 Oct 24
0
[LLVMdev] dyld: lazy symbol binding failed: fast lazy bind offset out of range
On Oct 23, 2012, at 4:46 PM, Jack Howarth wrote:
> On Tue, Oct 23, 2012 at 02:03:15PM -0700, Nick Kledzik wrote:
>>
>> On Oct 23, 2012, at 1:57 PM, Jack Howarth wrote:
>>> Nick,
>>> Can I do this without access to a debug version of dyld? Using the copy of LLVMPolly.so with isl/cloog-isl/gmp statically linked,
>>> I find that if I set the breakpoint to
2012 Oct 23
2
[LLVMdev] dyld: lazy symbol binding failed: fast lazy bind offset out of range
On Tue, Oct 23, 2012 at 02:03:15PM -0700, Nick Kledzik wrote:
>
> On Oct 23, 2012, at 1:57 PM, Jack Howarth wrote:
> > Nick,
> > Can I do this without access to a debug version of dyld? Using the copy of LLVMPolly.so with isl/cloog-isl/gmp statically linked,
> > I find that if I set the breakpoint to the address of the initializer...
> >
> > dyld: calling
2013 Feb 24
0
[LLVMdev] make error building llvm/clang 3.2 on Linux
I'm continuing this here in llvm-dev since the thread was started here,
but, in hindsight, it may have been better in cfe-dev, because the
problem seems to be related to clang.
I turned on "verbose" mode in make (VERBOSE=1 TOOL_VERBOSE=1) and found
that it is clang, not gcc, that is being used at this point in the make.
Based on the command issued (particularly with the --sysroot
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=
2013 Feb 21
4
[LLVMdev] make error building llvm/clang 3.2 on Linux
I'm attempting to build a native build of clang from the 3.2 source
distribution tarballs, but I ran into this build error that's got me
really puzzled. My platform is Linux - 32-bit Ubuntu (12.04) running
on a PC. Here's the (abbreviated) output from make:
***************************************
...
make[3]: Entering directory
2012 Oct 21
2
[LLVMdev] dragonegg polly support broken?
On Sun, Oct 21, 2012 at 08:38:21AM -0700, Tobias Grosser wrote:
> On 10/20/2012 05:38 PM, Jack Howarth wrote:
>> Duncan,
>> Is the documentation for using Polly support in dragonegg correct? I built llvm/polly/dragonegg
>> using the documentation at http://polly.llvm.org/example_load_Polly_into_dragonegg.html
>> with...
>>
>> GCC=/sw/lib/gcc4.7/bin/gcc-4
2017 Dec 26
2
Regression tests
Hello,
I have just built LLVM with CMake by following these instructions
https://llvm.org/docs/GettingStarted.html#getting-started-quickly-a-summary
and I am trying to run the regression tests using "make check-all" but
there are some unexpected failures in libcxx and libcxxabi. Here's the test
log:
Expected Passes : 40745
Expected Failures : 258
Unsupported Tests : 1594
2005 Nov 28
2
[LLVMdev] Help setting up a llvm project
First I'd like to let you know I've started working on porting gcjx to llvm.
Some other intrested people may help but I've just started the project.
My first question is I'm porting gcjx over to use the llvm build
system I've successfully created a number of libraries but gcjx uses a
number of sub directories for its source and I'd like the .o files for
all of them to
2012 Dec 25
2
[LLVMdev] [DragonEgg] Strange call to @"\01__isoc99_fscanf"
Dear all,
First of all, Merry Christmas! :)
While testing a File I/O sample program, I've encountered a link failure
due to missing implementation of "\01__isoc99_fscanf" function. I think
this function should be named "__isoc99_fscanf" instead. Please see the
program code and LLVM IR generated by DragonEgg and clang below. It shows
that clang generates
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
2008 May 01
0
[LLVMdev] building cross llvm-gcc for new target
On Apr 30, 2008, at 11:19 PM, james woodyatt wrote:
>> $TMPFILE:66: Error: internal_relocation (type: OFFSET_IMM) not
>> fixed up
You need to run the compile with -save-temps and then look at the .s
file. If you like it, it is an assembler bug. If you don't like it,
it is a bug in the compiler. If you don't know if you like it, as
your assembler vendor (binutils)
2010 Jan 17
0
[LLVMdev] LLVM-gcc for ARM
> llvm-gcc a.c
> Assembler messages:
> Fatal error: Invalid -march= option: `armv7-a'
>
> Any ideas?
It is probably trying to use the wrong assembler. Run with -v and check.
>
> Thank you,
> Corina
>
Cheers,
--
Rafael Ávila de Espíndola
2009 Jul 03
0
[LLVMdev] llvm-gcc cross compiler for ARM Linux failing
Hi, Neel
> I suspect it is using the wrong assembler. But when I do llvm-gcc -v I
> can see it has:
>
> --with-gnu-as=/home/neel/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-as
But how's assembler actually called? Just try to compile something
with extra -v option added
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg