-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Description
| Bugzilla Link | 879 |
| Resolution | FIXED |
| Resolved on | Jun 29, 2011 01:56 |
| Version | 1.8 |
| OS | Linux |
| Blocks | #1234 llvm/llvm-bugzilla-archive#3696 llvm/llvm-bugzilla-archive#4434 |
| Reporter | LLVM Bugzilla Contributor |
| CC | @asl,@DimitryAndric,@EdSchouten,@nlewycky,@pwo,@stoklund |
Extended Description
Hi there,
I was compiling lame-3.95.1 with the new tar file llvm-1.8a.tar.gz and
llvm-gcc4-1.8-source on Fedora Core 5. I wanted to check some timings for .wav
to .mp3 encoding.
The lame package compiles fine using llvm-gcc and -O0 but it dies using -O3
(which is the default opt level in the makefile). Gcc 4.0.3 works fine with all
opt levels. Llvm-gcc dies on all opt levels, except -0O.
The compilation goes through the mpglib subdirectory fine but it dies in the
libmp3lame subdirectory with the following:
snip....
llvm-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I. -I../mpglib/ -I.. -Wall
-pipe -O3 -MT VbrTag.lo -MD -MP -MF .deps/VbrTag.Tpo -c VbrTag.c -fPIC -DPIC -o
.libs/VbrTag.o
VbrTag.c: In function 'PutLameVBR':
VbrTag.c:772: warning: pointer targets in passing argument 1 of
'__builtin_strncpy' differ in signedness
VbrTag.c: In function 'PutVbrTag':
VbrTag.c:1000: warning: pointer targets in passing argument 2 of
'CRC_writeheader' differ in signedness
cc1: SelectionDAGISel.cpp:2142: void
llvm::SelectionDAGLowering::visitInlineAsm(llvm::CallInst&): Assertion
`!Regs.Regs.empty() && "Couldn't allocate output reg!"' failed.
VbrTag.c: At top level:
VbrTag.c:1030: internal compiler error: Aborted
snip...
I don't know enough about llvm at present, to offer an intelligent guess as to
why this is happening. Sorry ;)
Lame source can be downloaded here:
http://prdownloads.sourceforge.net/lame/lame-3.95.1.tar.gz
Thanks,
Kelly