[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#247347: Acknowledgement (segmentation fault when compiling xine-lib cvs)



Matthias Klose <doko@cs.tu-berlin.de> writes:

> please give me a pointer to a tarball and the configure/build options.

please try to compile the dsputil.c in the attached archive with the
following command:

gcc -DHAVE_CONFIG_H -I. -DSIMPLE_IDCT -DHAVE_AV_CONFIG_H -DRUNTIME_CPUDETECT -DUSE_FASTMEMCPY -DCONFIG_RISKY -DCONFIG_DECODERS -DXINE_MPEG_ENCODER -DCONFIG_ZLIB -mcpu=athlon -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -MT dsputil.lo -MD -MP -MF .deps/dsputil.Tpo -c dsputil.c

and gcc should crash with the following error:

dsputil.c: In function `put_tpel_pixels_mc02_c':
dsputil.c:1051: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions, see
<URL:file:///usr/share/doc/gcc-3.3/README.Bugs>.

i've discovered by trial and error that if i remove -funroll-loops
from the list of options than the compilation works.

hope this helps.

--alex--

Attachment: gcc-test.tar.gz
Description: files to be compiled

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

Reply to: