[uClibc]compiling problem - gcc segfaults

Simon Davis sd1324 at yahoo.com
Mon Feb 10 17:35:01 UTC 2003


Hi,

I'm trying to compile libao under the uclibc development environment but gcc seems to sefault when
compiling.  According to strace it's libtool that's segfaulting.  Below is the output when I try
to compile the library.  What would cause gcc/libtool to segfault?  How do I go about fixing it?

Thanks

SD

Making all in src
make[1]: Entering directory `/root/libao-0.8.3/src'
Making all in plugins
make[2]: Entering directory `/root/libao-0.8.3/src/plugins'
Making all in oss
make[3]: Entering directory `/root/libao-0.8.3/src/plugins/oss'
/bin/sh ../../../libtool --mode=compile gcc -DPACKAGE=\"libao\" -DVERSION=\"0.8.3\"
-DHAVE_DLFCN_H=1 -DHAVE_LIBPTHREAD=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4
-DHAVE_SYS_SOUNDCARD_H=1  -I. -I.  -I../../../include/ao -I../../../include    -O20 -ffast-math
-D_REENTRANT -fsigned-char -g -O2 -c ao_oss.c
Segmentation fault
gcc -DPACKAGE=\"libao\" -DVERSION=\"0.8.3\" -DHAVE_DLFCN_H=1 -DHAVE_LIBPTHREAD=1 -DSIZEOF_SHORT=2
-DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_SYS_SOUNDCARD_H=1 -I. -I. -I../../../include/ao
-I../../../include -O20 -ffast-math -D_REENTRANT -fsigned-char -g -O2 -c ao_oss.c  -fPIC -DPIC -o
ao_oss.lo
/bin/sh ../../../libtool --mode=link gcc  -O20 -ffast-math -D_REENTRANT -fsigned-char -g -O2  -o
liboss.la -rpath /usr/local/lib/ao/plugins-2 -export-dynamic -avoid-version ao_oss.lo  -lpthread 
Segmentation fault



__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



More information about the uClibc mailing list