[FFmpeg-devel] gcc -rdynamic flag not supported, yet configure keeps propogating

Ben Taylor bentaylor.solx86
Thu Jun 26 16:16:59 CEST 2008


Solaris 10/X86, gcc-3.4.3.   I'm running basic configuration tests
with some patches to configure for Solaris, and I see this check
for "-rdynamic" fail (gcc emits "gcc: unrecognized option `-rdynamic')
The log is below.

Running the tests manually, it appears that the binary gets created
as expected, but gcc emits that "warning" and doesn't return a non-zero
value.

Should the check for -rdyanmic look for something like that warning
and disable it if found?

Thoughts?

Ben

gcc -fomit-frame-pointer -c -o /tmp/ffmpeg-conf-17909-5219-32711.o
/tmp/ffmpeg-conf-26888-5219-20571.c
check_ldflags -rdynamic
check_ld -rdynamic
check_cc
BEGIN /tmp/ffmpeg-conf-26888-5219-20571.c
    1   int main(void){ return 0; }
END /tmp/ffmpeg-conf-26888-5219-20571.c
gcc -fomit-frame-pointer -c -o /tmp/ffmpeg-conf-17909-5219-32711.o
/tmp/ffmpeg-conf-26888-5219-20571.c
gcc -rdynamic -o /tmp/ffmpeg-conf-21333-5219-17813
/tmp/ffmpeg-conf-17909-5219-32711.o -lz -lbz2 -lm
gcc: unrecognized option `-rdynamic'
check_ldflags -export-dynamic
check_ld -export-dynamic
check_cc
BEGIN /tmp/ffmpeg-conf-26888-5219-20571.c
    1   int main(void){ return 0; }
END /tmp/ffmpeg-conf-26888-5219-20571.c
gcc -fomit-frame-pointer -c -o /tmp/ffmpeg-conf-17909-5219-32711.o
/tmp/ffmpeg-conf-26888-5219-20571.c
gcc -rdynamic -export-dynamic -o /tmp/ffmpeg-conf-21333-5219-17813
/tmp/ffmpeg-conf-17909-5219-32711.o -lz -lbz2 -lm
gcc: unrecognized option `-rdynamic'
ld: fatal: entry point symbol `xport-dynamic' is undefined
collect2: ld returned 1 exit status




More information about the ffmpeg-devel mailing list