[FFmpeg-user] running configure on SPARC

Eric Thomas eric21797 at gmail.com
Wed Dec 12 17:25:14 EET 2018


Hey Carl,

I am trying to build a set of shared libraries. I have successfully run
these different configure commands:

bash ./configure --prefix=/myhome/ffmpeg/FFmpeg-4.0.3 --enable-shared
bash ./configure --prefix=/myhome/ffmpeg/FFmpeg-4.0.3 --enable-shared
--extra-cflags="-fPIC"
bash ./configure --prefix=/myhome/ffmpeg/FFmpeg-4.0.3 --enable-shared
--extra-cflags="-fPIC" --enable-pic

In each case, the subsequent 'make' call returns with this error:
[myhome/ffmpeg/FFmpeg-4.0.3]$ make
Text relocation remains                       referenced
    against symbol              offset        in file
.data(section)                  0x0
libavutil/../compat/atomics/pthread/stdatomic.o
.data(section)                  0xc
libavutil/../compat/atomics/pthread/stdatomic.o
.data(section)                  0x14
libavutil/../compat/atomics/pthread/stdatomic.o
.data(section)                  0x20
libavutil/../compat/atomics/pthread/stdatomic.o
pthread_mutex_lock              0x4
libavutil/../compat/atomics/pthread/stdatomic.o
pthread_mutex_lock              0x8
libavutil/../compat/atomics/pthread/stdatomic.o
pthread_mutex_lock              0x18
libavutil/../compat/atomics/pthread/stdatomic.o
pthread_mutex_lock              0x1c
libavutil/../compat/atomics/pthread/stdatomic.o
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make: *** [libavutil/libavutil.so.] Error 1

Can you point me in a right direction? I have not received any
responses to my SuperUser post..

Thanks!




On Wed, Dec 5, 2018 at 11:57 AM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:

> 2018-12-05 17:54 GMT+01:00, Eric Thomas <eric21797 at gmail.com>:
>
> > I had our sys-ad install gnu sed (v4.5), and I modified the 3 instances
> of
> > "sed -E" in the configure script.
>
> This is not necessary anymore, configure was fixed.
>
> > It now runs to completion - although it takes about 6 minutes to
> complete.
>
> Which version of FFmpeg is this?
> It took hours here before a recent fix, it is significantly faster now.
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list