Subject: Re: PR 12312 - madplay dumps core
To: Nick Hudson <skrll@netbsd.org>
From: Ignatios Souvatzis <is@netbsd.org>
List: port-arm32
Date: 03/13/2001 22:51:49
--uAKRQypu60I7Lcqm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Tue, Mar 13, 2001 at 05:44:13PM +0000, Nick Hudson wrote:
> Have you got a build log and a backtrace?
build log is attached. Here's my gdb session:

marie mad-0.12.5b !% ./madplay ~/meu_anjo.mp3
MPEG Audio Decoder 0.12.5 (beta) - Copyright (C) 2000-2001 Robert Leslie
Segmentation fault (core dumped)
marie mad-0.12.5b !% gdb .libs/madplay *core
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "arm--netbsd"...(no debugging symbols found)...
Core was generated by `madplay'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/pkgsrc/audio/madplay/work/mad-0.12.5b/libmad/.libs/libmad.so.0.0...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libm.so.0.1...(no debugging symbols found)...
done.
Reading symbols from /usr/pkg/lib/libintl.so.1.0...
(no debugging symbols found)...done.
Reading symbols from /usr/lib/libc.so.12.62.1...(no debugging symbols found)...
done.
#0  0x2004a738 in loop ()
(gdb) where
#0  0x2004a738 in loop ()
Cannot access memory at address 0xefbfcfb8.
(gdb) disas 0x2004a730 0x20041740
Dump of assembler code from 0x2004a730 to 0x20041740:
End of assembler dump.
(gdb) disas 0x2004a730 0x2004a740
Dump of assembler code from 0x2004a730 to 0x2004a740:
0x2004a730 <III_imdct_l+560>:   ldr     r2, 0x2004ae2c <$$lit_a1+24>
0x2004a734 <loop>:      ldr     ip, [r0]
0x2004a738 <loop+4>:    ldmia   r2!, {r5, r6, r7, r8, r9, sl, fp}
0x2004a73c <loop+8>:    smull   r3, r4, r5, ip
End of assembler dump.


--uAKRQypu60I7Lcqm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="bla.log"

===> Configuring for madplay-0.12.5b
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... arm--netbsd
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... (cached) cc
checking whether the C compiler (cc -O2  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) works... yes
checking whether the C compiler (cc -O2  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking for POSIXized ISC... no
checking build system type... arm--netbsd
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/libexec/ld
checking if the linker (/usr/libexec/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
updating cache ./config.cache
loading cache ./config.cache
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... no
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for stpcpy... no
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... yes
checking for msgfmt... /usr/pkg/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/pkg/bin/msgfmt
checking for xgettext... /usr/pkg/bin/xgettext
checking for catalogs to be installed...  en es fr hr no
checking whether cc needs -traditional... no
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking whether byte ordering is bigendian... no
checking for vprintf... yes
checking for madvise... yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... yes
checking for library containing pow... -lm
checking for library containing log10... none required
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking whether to use mmap... yes
updating cache ./config.cache
checking for audio support... sun
checking whether to enable profiling... no
checking whether to enable debugging... default
checking whether to enable experimental code... no
creating ./config.status
creating Makefile
creating intl/Makefile
creating po/Makefile.in
creating winamp/Makefile
creating winamp/in_mad.psc
creating config.h
configuring in libmad
running /bin/sh ./configure  --host=arm--netbsd --prefix=/usr/pkg --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... arm--netbsd
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... (cached) cc
checking whether the C compiler (cc -Wall -O2  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) works... yes
checking whether the C compiler (cc -Wall -O2  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking build system type... arm--netbsd
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/libexec/ld
checking if the linker (/usr/libexec/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
updating cache .././config.cache
loading cache .././config.cache
checking how to run the C preprocessor... (cached) cc -E
checking whether cc needs -traditional... (cached) no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for limits.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for pid_t... yes
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking whether to optimize for speed or for accuracy... default
checking for architecture-specific fixed-point math routines... ARM
checking for ISO/IEC interpretation... best accepted practices
checking whether to enable profiling... no
checking whether to enable debugging... default
checking whether to enable experimental code... no
updating cache .././config.cache
creating ./config.status
creating Makefile
creating config.h
===> Building for madplay-0.12.5b
make  all-recursive
Making all in intl
Making all in po
Making all in libmad
/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT  -I/usr/pkg/include  -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c version.c
mkdir .libs
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c version.c  -fPIC -DPIC -o .libs/version.o
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c version.c -o version.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT  -I/usr/pkg/include  -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c fixed.c
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c fixed.c  -fPIC -DPIC -o .libs/fixed.o
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c fixed.c -o fixed.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT  -I/usr/pkg/include  -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c bit.c
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c bit.c  -fPIC -DPIC -o .libs/bit.o
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c bit.c -o bit.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT  -I/usr/pkg/include  -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c timer.c
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c timer.c  -fPIC -DPIC -o .libs/timer.o
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c timer.c -o timer.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT  -I/usr/pkg/include  -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c stream.c
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c stream.c  -fPIC -DPIC -o .libs/stream.o
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c stream.c -o stream.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT  -I/usr/pkg/include  -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c frame.c
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c frame.c  -fPIC -DPIC -o .libs/frame.o
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c frame.c -o frame.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT  -I/usr/pkg/include  -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c synth.c
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c synth.c  -fPIC -DPIC -o .libs/synth.o
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c synth.c -o synth.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT  -I/usr/pkg/include  -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c decoder.c
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c decoder.c  -fPIC -DPIC -o .libs/decoder.o
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c decoder.c -o decoder.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT  -I/usr/pkg/include  -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c layer12.c
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c layer12.c  -fPIC -DPIC -o .libs/layer12.o
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c layer12.c -o layer12.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT  -I/usr/pkg/include  -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c layer3.c
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c layer3.c  -fPIC -DPIC -o .libs/layer3.o
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c layer3.c -o layer3.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT  -I/usr/pkg/include  -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c huffman.c
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c huffman.c  -fPIC -DPIC -o .libs/huffman.o
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c huffman.c -o huffman.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT  -I/usr/pkg/include  -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c imdct_l_arm.S
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c imdct_l_arm.S  -fPIC -DPIC -o .libs/imdct_l_arm.o
cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_ARM -DASO_INTERLEAVE1 -DASO_IMDCT -I/usr/pkg/include -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -c imdct_l_arm.S -o imdct_l_arm.o >/dev/null 2>&1
/bin/sh ./libtool --mode=link cc  -Wall -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o libmad.la -rpath /usr/pkg/lib -version 0:0 version.lo fixed.lo bit.lo timer.lo stream.lo  frame.lo synth.lo decoder.lo layer12.lo layer3.lo huffman.lo imdct_l_arm.lo -lm  -L/usr/pkg/lib -lintl
/usr/libexec/ld -Bshareable -o .libs/libmad.so.0.0  .libs/version.o .libs/fixed.o .libs/bit.o .libs/timer.o .libs/stream.o .libs/frame.o .libs/synth.o .libs/decoder.o .libs/layer12.o .libs/layer3.o .libs/huffman.o .libs/imdct_l_arm.o  -R/usr/pkg/lib -R/usr/pkg/lib  -L/usr/pkg/lib -lm -lintl  -R/usr/pkg/lib -R/usr/pkg/lib
ar cru .libs/libmad.a  version.o fixed.o bit.o timer.o stream.o frame.o synth.o decoder.o layer12.o layer3.o huffman.o imdct_l_arm.o
ranlib .libs/libmad.a
creating libmad.la
(cd .libs && rm -f libmad.la && ln -s ../libmad.la libmad.la)
(sed -e '1s|.*|/*|' -e '1b' -e '$s|.*| */|' -e '$b'   -e 's/^.*/ *&/' ./../COPYRIGHT; echo;   if [ ".-DFPM_ARM" != "." ]; then   echo ".-DFPM_ARM" | sed -e 's|^\.-D|# define |'; echo;   fi;   sed -ne 's/^# *define  *\(HAVE_.*_ASM\).*/# define \1/p'   config.h; echo;   sed -ne 's/^# *define  *OPT_\(SPEED\|ACCURACY\).*/# define OPT_\1/p'   config.h; echo;   sed -ne 's/^# *define  *\(SIZEOF_.*\)/# define \1/p'   config.h; echo;   for header in version.h fixed.h bit.h timer.h stream.h frame.h synth.h decoder.h; do   echo;   sed -n -f ./mad.h.sed ./$header; echo;   done) | cat -s >mad.h
Making all in winamp
cc -DHAVE_CONFIG_H -I. -I. -I. -Ilibmad -Iintl -DLOCALEDIR=\"/usr/pkg/share/locale\"  -I/usr/pkg/include  -Wall -O2 -c version.c
cc -DHAVE_CONFIG_H -I. -I. -I. -Ilibmad -Iintl -DLOCALEDIR=\"/usr/pkg/share/locale\"  -I/usr/pkg/include  -Wall -O2 -c audio.c
cc -DHAVE_CONFIG_H -I. -I. -I. -Ilibmad -Iintl -DLOCALEDIR=\"/usr/pkg/share/locale\"  -I/usr/pkg/include  -Wall -O2 -c audio_raw.c
cc -DHAVE_CONFIG_H -I. -I. -I. -Ilibmad -Iintl -DLOCALEDIR=\"/usr/pkg/share/locale\"  -I/usr/pkg/include  -Wall -O2 -c audio_wave.c
cc -DHAVE_CONFIG_H -I. -I. -I. -Ilibmad -Iintl -DLOCALEDIR=\"/usr/pkg/share/locale\"  -I/usr/pkg/include  -Wall -O2 -c audio_snd.c
cc -DHAVE_CONFIG_H -I. -I. -I. -Ilibmad -Iintl -DLOCALEDIR=\"/usr/pkg/share/locale\"  -I/usr/pkg/include  -Wall -O2 -c audio_null.c
cc -DHAVE_CONFIG_H -I. -I. -I. -Ilibmad -Iintl -DLOCALEDIR=\"/usr/pkg/share/locale\"  -I/usr/pkg/include  -Wall -O2 -c resample.c
cc -DHAVE_CONFIG_H -I. -I. -I. -Ilibmad -Iintl -DLOCALEDIR=\"/usr/pkg/share/locale\"  -I/usr/pkg/include  -Wall -O2 -c filter.c
cc -DHAVE_CONFIG_H -I. -I. -I. -Ilibmad -Iintl -DLOCALEDIR=\"/usr/pkg/share/locale\"  -I/usr/pkg/include  -Wall -O2 -c equalizer.c
cc -DHAVE_CONFIG_H -I. -I. -I. -Ilibmad -Iintl -DLOCALEDIR=\"/usr/pkg/share/locale\"  -I/usr/pkg/include  -Wall -O2 -c id3.c
cc -DHAVE_CONFIG_H -I. -I. -I. -Ilibmad -Iintl -DLOCALEDIR=\"/usr/pkg/share/locale\"  -I/usr/pkg/include  -Wall -O2 -c id3v2.c
cc -DHAVE_CONFIG_H -I. -I. -I. -Ilibmad -Iintl -DLOCALEDIR=\"/usr/pkg/share/locale\"  -I/usr/pkg/include  -Wall -O2 -c player.c
cc -DHAVE_CONFIG_H -I. -I. -I. -Ilibmad -Iintl -DLOCALEDIR=\"/usr/pkg/share/locale\"  -I/usr/pkg/include  -Wall -O2 -c madplay.c
cc -DHAVE_CONFIG_H -I. -I. -I. -Ilibmad -Iintl -DLOCALEDIR=\"/usr/pkg/share/locale\"  -I/usr/pkg/include  -Wall -O2 -c getopt.c
cc -DHAVE_CONFIG_H -I. -I. -I. -Ilibmad -Iintl -DLOCALEDIR=\"/usr/pkg/share/locale\"  -I/usr/pkg/include  -Wall -O2 -c getopt1.c
cc -DHAVE_CONFIG_H -I. -I. -I. -Ilibmad -Iintl -DLOCALEDIR=\"/usr/pkg/share/locale\"  -I/usr/pkg/include  -Wall -O2 -c audio_sun.c
/bin/sh ./libtool --mode=link cc  -Wall -O2 -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o madplay  version.o audio.o audio_raw.o audio_wave.o  audio_snd.o audio_null.o resample.o filter.o equalizer.o id3.o id3v2.o  player.o madplay.o getopt.o getopt1.o audio_sun.o libmad/libmad.la -lm  -L/usr/pkg/lib -lintl
mkdir .libs
cc -Wall -O2 -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -o .libs/madplay version.o audio.o audio_raw.o audio_wave.o audio_snd.o audio_null.o resample.o filter.o equalizer.o id3.o id3v2.o player.o madplay.o getopt.o getopt1.o audio_sun.o  -L/usr/pkg/lib -Llibmad/.libs -lmad -lm -lintl -R/usr/pkg/lib
creating madplay

--uAKRQypu60I7Lcqm--