Opened 5 years ago
Last modified 5 years ago
#9138 open defect
file missing when making build
| Reported by: | David D | Owned by: | |
|---|---|---|---|
| Priority: | important | Component: | avutil |
| Version: | git-master | Keywords: | mips regression |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
i got a missing file :
src/libavutil/mips/cpu.c:26:22: fatal error: sys/auxv.h: No such file or directory
Doing :
wget https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
tar -xvf ffmpeg-snapshot.tar.bz2
mkdir -p ffmpeg/build && cd ffmpeg/build
configure --prefix=/home/Projet/aws/cross_output --target-os=linux --arch=mips --enable-cross-compile --cc=mips-linux-uclibc-gnu-gcc --enable-shared --enable-pic
make -j
Attachments (1)
Change History (3)
by , 5 years ago
| Attachment: | Sans titre.png added |
|---|
comment:1 by , 5 years ago
| Component: | undetermined → avutil |
|---|---|
| Keywords: | mips regression added |
| Priority: | normal → important |
| Reproduced by developer: | set |
| Status: | new → open |
This is a regression since e387fcd01cb84d9493f3b96158addd2a85f086c6, reproducible for example on Debian 7.11
$ make libavutil/mips/cpu.o CC libavutil/mips/cpu.o src/libavutil/mips/cpu.c:26:22: fatal error: sys/auxv.h: No such file or directory compilation terminated. make: *** [libavutil/mips/cpu.o] Error 1
Works fine on Debian 8.11
comment:2 by , 5 years ago
getauxval(), provided by sys/auxv.h, is a glibc extension that exists since glibc 2.16. Clearly there is a need for something more complicated than #if defined __linux__ || defined __ANDROID__.



stdout