llvm-gcc-4.0 compilation erros

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

llvm-gcc-4.0 compilation erros

Ryan M. Lefever
I checked llvm-gcc 4.0 out from svn yesterday and am compiling it on 3
different machines.  I was able to compile it on 2 of the machines, but
the compilation failed on the third machine with the errors below.  The
machine that the compilation failed on is running Fedora Core 4.  The
processor is a AMD Athlon(tm) 64 Processor 3700+.  The version of gcc I
have on the machine is 4.0.2.  I tried configuring with both the
--disable-shared and --disable-multilib options.  I also tried doing a
make OPTIMIZE_OPTION=-O2 as was suggested in the README.LLVM file.  Does
anyone have any ideas on what the problem is?  Any help would be greatly
appreciated.

Thanks,
Ryan

----------- compilation errors ------------------
/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/gcc/xgcc
-shared-libgcc
-B/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/gcc/ -nostdinc++
-L/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/src
-L/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/../install/x86_64-unknown-linux-gnu/bin/
-B/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/../install/x86_64-unknown-linux-gnu/lib/
-isystem
/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/../install/x86_64-unknown-linux-gnu/include
-isystem
/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/../install/x86_64-unknown-linux-gnu/sys-include
-I/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0/libstdc++-v3/libsupc++
-g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -Wextra
-Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once
-ffunction-sections -fdata-sections -c
../../../../llvm-gcc-4.0/libstdc++-v3/src/bitmap_allocator.cc -o
bitmap_allocator.o
/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/include/ext/bitmap_allocator.h:
In member function '__gnu_cxx::_Mutex*
__gnu_cxx::free_list::_M_get_mutex()':
/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/include/ext/bitmap_allocator.h:722:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs> for instructions.
make[3]: *** [bitmap_allocator.lo] Error 1
make[3]: Leaving directory
`/home/performA/users/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/performA/users/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/performA/users/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: llvm-gcc-4.0 compilation erros

Chris Lattner
On Wed, 22 Aug 2007, Ryan M. Lefever wrote:

> I checked llvm-gcc 4.0 out from svn yesterday and am compiling it on 3
> different machines.  I was able to compile it on 2 of the machines, but
> the compilation failed on the third machine with the errors below.  The
> machine that the compilation failed on is running Fedora Core 4.  The
> processor is a AMD Athlon(tm) 64 Processor 3700+.  The version of gcc I
> have on the machine is 4.0.2.  I tried configuring with both the
> --disable-shared and --disable-multilib options.  I also tried doing a
> make OPTIMIZE_OPTION=-O2 as was suggested in the README.LLVM file.  Does
> anyone have any ideas on what the problem is?  Any help would be greatly
> appreciated.

It looks like you hit a bug.  Please reduce the bug (at least get a .ii
file for the crash, better to use bugpoint to reduce it) as described
here:
http://llvm.org/docs/HowToSubmitABug.html

If you reduce the bug well, you can often get a fix within a day.

-Chris

>
> ----------- compilation errors ------------------
> /home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/gcc/xgcc
> -shared-libgcc
> -B/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/gcc/ -nostdinc++
> -L/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/src
> -L/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
> -B/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/../install/x86_64-unknown-linux-gnu/bin/
> -B/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/../install/x86_64-unknown-linux-gnu/lib/
> -isystem
> /home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/../install/x86_64-unknown-linux-gnu/include
> -isystem
> /home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/../install/x86_64-unknown-linux-gnu/sys-include
> -I/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
> -I/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/include
> -I/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0/libstdc++-v3/libsupc++
> -g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -Wextra
> -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once
> -ffunction-sections -fdata-sections -c
> ../../../../llvm-gcc-4.0/libstdc++-v3/src/bitmap_allocator.cc -o
> bitmap_allocator.o
> /home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/include/ext/bitmap_allocator.h:
> In member function '__gnu_cxx::_Mutex*
> __gnu_cxx::free_list::_M_get_mutex()':
> /home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/include/ext/bitmap_allocator.h:722:
> internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://llvm.org/bugs> for instructions.
> make[3]: *** [bitmap_allocator.lo] Error 1
> make[3]: Leaving directory
> `/home/performA/users/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/performA/users/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/home/performA/users/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3'
> make: *** [all-target-libstdc++-v3] Error 2
> _______________________________________________
> LLVM Developers mailing list
> [hidden email]         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>

-Chris

--
http://nondot.org/sabre/
http://llvm.org/
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: llvm-gcc-4.0 compilation erros

Ryan M. Lefever
Chris,

I'm a little confused.  I am experiencing a crash when compiling the
llvm-gcc frontend.  According to the bugpoint documentation, bugpoint is
used to debug "optimizer crashes, miscompilations by optimizers, or bad
native code generation," which seems like it implies that the frontend
compiles.  Also, the http://llvm.org/docs/HowToSubmitABug.html 
documentation seems to only address bugs that occur once the frontend is
compiled.  So, I'm a little unclear what I should submit when filing the
bug.  If I'm missing something or incorrect, please correct me.

Ryan



Chris Lattner wrote:

> On Wed, 22 Aug 2007, Ryan M. Lefever wrote:
>
>>I checked llvm-gcc 4.0 out from svn yesterday and am compiling it on 3
>>different machines.  I was able to compile it on 2 of the machines, but
>>the compilation failed on the third machine with the errors below.  The
>>machine that the compilation failed on is running Fedora Core 4.  The
>>processor is a AMD Athlon(tm) 64 Processor 3700+.  The version of gcc I
>>have on the machine is 4.0.2.  I tried configuring with both the
>>--disable-shared and --disable-multilib options.  I also tried doing a
>>make OPTIMIZE_OPTION=-O2 as was suggested in the README.LLVM file.  Does
>>anyone have any ideas on what the problem is?  Any help would be greatly
>>appreciated.
>
>
> It looks like you hit a bug.  Please reduce the bug (at least get a .ii
> file for the crash, better to use bugpoint to reduce it) as described
> here:
> http://llvm.org/docs/HowToSubmitABug.html
>
> If you reduce the bug well, you can often get a fix within a day.
>
> -Chris
>
>
>>----------- compilation errors ------------------
>>/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/gcc/xgcc
>>-shared-libgcc
>>-B/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/gcc/ -nostdinc++
>>-L/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/src
>>-L/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
>>-B/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/../install/x86_64-unknown-linux-gnu/bin/
>>-B/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/../install/x86_64-unknown-linux-gnu/lib/
>>-isystem
>>/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/../install/x86_64-unknown-linux-gnu/include
>>-isystem
>>/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/../install/x86_64-unknown-linux-gnu/sys-include
>>-I/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
>>-I/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/include
>>-I/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0/libstdc++-v3/libsupc++
>>-g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -Wextra
>>-Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once
>>-ffunction-sections -fdata-sections -c
>>../../../../llvm-gcc-4.0/libstdc++-v3/src/bitmap_allocator.cc -o
>>bitmap_allocator.o
>>/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/include/ext/bitmap_allocator.h:
>>In member function '__gnu_cxx::_Mutex*
>>__gnu_cxx::free_list::_M_get_mutex()':
>>/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/include/ext/bitmap_allocator.h:722:
>>internal compiler error: Segmentation fault
>>Please submit a full bug report,
>>with preprocessed source if appropriate.
>>See <URL:http://llvm.org/bugs> for instructions.
>>make[3]: *** [bitmap_allocator.lo] Error 1
>>make[3]: Leaving directory
>>`/home/performA/users/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/src'
>>make[2]: *** [all-recursive] Error 1
>>make[2]: Leaving directory
>>`/home/performA/users/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3'
>>make[1]: *** [all] Error 2
>>make[1]: Leaving directory
>>`/home/performA/users/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3'
>>make: *** [all-target-libstdc++-v3] Error 2
>>_______________________________________________
>>LLVM Developers mailing list
>>[hidden email]         http://llvm.cs.uiuc.edu
>>http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>
>
> -Chris
>

--
Ryan M. Lefever  [http://www.crhc.uiuc.edu/~lefever/index.html]
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: llvm-gcc-4.0 compilation erros

Chris Lattner
On Wed, 22 Aug 2007, Ryan M. Lefever wrote:
> I'm a little confused.  I am experiencing a crash when compiling the
> llvm-gcc frontend.  According to the bugpoint documentation, bugpoint is

You are experiencing a crash when the front-end is trying to compile one
of the runtime libraries (libstdc++).  This is a bug in the front-end.

-Chris

> used to debug "optimizer crashes, miscompilations by optimizers, or bad
> native code generation," which seems like it implies that the frontend
> compiles.  Also, the http://llvm.org/docs/HowToSubmitABug.html
> documentation seems to only address bugs that occur once the frontend is
> compiled.  So, I'm a little unclear what I should submit when filing the
> bug.  If I'm missing something or incorrect, please correct me.
>
> Ryan
>
>
>
> Chris Lattner wrote:
>> On Wed, 22 Aug 2007, Ryan M. Lefever wrote:
>>
>>> I checked llvm-gcc 4.0 out from svn yesterday and am compiling it on 3
>>> different machines.  I was able to compile it on 2 of the machines, but
>>> the compilation failed on the third machine with the errors below.  The
>>> machine that the compilation failed on is running Fedora Core 4.  The
>>> processor is a AMD Athlon(tm) 64 Processor 3700+.  The version of gcc I
>>> have on the machine is 4.0.2.  I tried configuring with both the
>>> --disable-shared and --disable-multilib options.  I also tried doing a
>>> make OPTIMIZE_OPTION=-O2 as was suggested in the README.LLVM file.  Does
>>> anyone have any ideas on what the problem is?  Any help would be greatly
>>> appreciated.
>>
>>
>> It looks like you hit a bug.  Please reduce the bug (at least get a .ii
>> file for the crash, better to use bugpoint to reduce it) as described
>> here:
>> http://llvm.org/docs/HowToSubmitABug.html
>>
>> If you reduce the bug well, you can often get a fix within a day.
>>
>> -Chris
>>
>>
>>> ----------- compilation errors ------------------
>>> /home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/gcc/xgcc
>>> -shared-libgcc
>>> -B/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/gcc/ -nostdinc++
>>> -L/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/src
>>> -L/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
>>> -B/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/../install/x86_64-unknown-linux-gnu/bin/
>>> -B/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/../install/x86_64-unknown-linux-gnu/lib/
>>> -isystem
>>> /home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/../install/x86_64-unknown-linux-gnu/include
>>> -isystem
>>> /home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/../install/x86_64-unknown-linux-gnu/sys-include
>>> -I/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
>>> -I/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/include
>>> -I/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0/libstdc++-v3/libsupc++
>>> -g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -Wextra
>>> -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once
>>> -ffunction-sections -fdata-sections -c
>>> ../../../../llvm-gcc-4.0/libstdc++-v3/src/bitmap_allocator.cc -o
>>> bitmap_allocator.o
>>> /home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/include/ext/bitmap_allocator.h:
>>> In member function '__gnu_cxx::_Mutex*
>>> __gnu_cxx::free_list::_M_get_mutex()':
>>> /home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/include/ext/bitmap_allocator.h:722:
>>> internal compiler error: Segmentation fault
>>> Please submit a full bug report,
>>> with preprocessed source if appropriate.
>>> See <URL:http://llvm.org/bugs> for instructions.
>>> make[3]: *** [bitmap_allocator.lo] Error 1
>>> make[3]: Leaving directory
>>> `/home/performA/users/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/src'
>>> make[2]: *** [all-recursive] Error 1
>>> make[2]: Leaving directory
>>> `/home/performA/users/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3'
>>> make[1]: *** [all] Error 2
>>> make[1]: Leaving directory
>>> `/home/performA/users/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3'
>>> make: *** [all-target-libstdc++-v3] Error 2
>>> _______________________________________________
>>> LLVM Developers mailing list
>>> [hidden email]         http://llvm.cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>>
>>
>>
>> -Chris
>>
>
>

-Chris

--
http://nondot.org/sabre/
http://llvm.org/
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev