can't build today's git with qsv

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

can't build today's git with qsv

sean darcy
On Fedora 31, today's git:

libavcodec/qsvenc.c: In function 'qsv_retrieve_enc_vp9_params':
libavcodec/qsvenc.c:827:25: error: 'vp9_extend_buf' undeclared (first
use in th>
   827 |         (mfxExtBuffer*)&vp9_extend_buf,
       |                         ^~~~~~~~~~~~~~

libva-2.6.0-0.1.fc31.x86_64
libva-devel-2.6.0-0.1.fc31.x86_64
libmfx-1.25-4.fc31.x86_64
libmfx-devel-1.25-4.fc31.x86_64



+ ./configure --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64
'--optflags=-O3  -ffast-math -march=native -ftree-vectorize
-fomit-frame-pointer -pipe -fPIC' --enable-bzlib --disable-crystalhd
--enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls
--enable-ladspa --enable-libass --enable-libbluray --enable-libcdio
--disable-libdav1d --enable-libfdk-aac --enable-nonfree
--enable-indev=jack --enable-libfreetype --enable-libfribidi
--enable-libgsm --enable-libmfx --enable-libmp3lame --enable-openal
--enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus
--enable-libpulse --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libwebp
--enable-libx264 --enable-libx265 --enable-avfilter --enable-postproc
--enable-pthreads --disable-static --enable-shared --enable-gpl
--enable-version3 --enable-nonfree --disable-debug --enable-stripping
--enable-vaapi --shlibdir=/usr/lib64 --enable-runtime-cpudetect
install prefix            /usr
source path               .
C compiler                gcc
C library                 glibc
ARCH                      x86 (generic)
big-endian                no
runtime cpu detection     yes
standalone assembly       yes
x86 assembler             nasm
MMX enabled               yes
MMXEXT enabled            yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
AESNI enabled             yes
AVX enabled               yes
AVX2 enabled              yes
AVX-512 enabled           yes
XOP enabled               yes
FMA3 enabled              yes
FMA4 enabled              yes
i686 features enabled     yes
CMOV is fast              yes
EBX available             yes
EBP available             yes
debug symbols             no
strip symbols             yes
optimize for size         no
optimizations             yes
static                    no
shared                    yes
postprocessing support    yes
network support           yes
threading support         pthreads
safe bitstream reader     yes
texi2html enabled         no
perl enabled              yes
pod2man enabled           yes
makeinfo enabled          yes
makeinfo supports HTML    yes

External libraries:
alsa                    libass                  libgsm
libtheora               libxcb                  sdl2
bzlib                   libbluray               libmp3lame
libv4l2                 libxcb_shape            xlib
frei0r                  libcdio                 libopenjpeg
libvorbis               libxcb_shm              zlib
gcrypt                  libfdk_aac              libopus
libvpx                  libxcb_xfixes
gnutls                  libfontconfig           libpulse
libwebp                 lzma
iconv                   libfreetype             libsoxr
libx264                 openal
ladspa                  libfribidi              libspeex
libx265                 opengl

External libraries providing hardware acceleration:
cuda                    cuvid                   libmfx
nvenc                   v4l2_m2m                vdpau
cuda_llvm               ffnvcodec               nvdec
opencl                  vaapi                   xvmc

Libraries:
avcodec                 avfilter                avutil
swresample
avdevice                avformat                postproc
swscale

Programs:
ffmpeg                  ffplay                  ffprobe

Any help appreciated.

Also, how would I just build with vaapi and not qsv ?

sean


_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: can't build today's git with qsv

Brainiarc7
On Tue, 26 Nov 2019, 01:45 sean darcy, <[hidden email]> wrote:

> On Fedora 31, today's git:
>
> libavcodec/qsvenc.c: In function 'qsv_retrieve_enc_vp9_params':
> libavcodec/qsvenc.c:827:25: error: 'vp9_extend_buf' undeclared (first
> use in th>
>    827 |         (mfxExtBuffer*)&vp9_extend_buf,
>        |                         ^~~~~~~~~~~~~~
>
> libva-2.6.0-0.1.fc31.x86_64
> libva-devel-2.6.0-0.1.fc31.x86_64
> libmfx-1.25-4.fc31.x86_64
> libmfx-devel-1.25-4.fc31.x86_64
>
>
>
> + ./configure --prefix=/usr --bindir=/usr/bin
> --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
> --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64
> '--optflags=-O3  -ffast-math -march=native -ftree-vectorize
> -fomit-frame-pointer -pipe -fPIC' --enable-bzlib --disable-crystalhd
> --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls
> --enable-ladspa --enable-libass --enable-libbluray --enable-libcdio
> --disable-libdav1d --enable-libfdk-aac --enable-nonfree
> --enable-indev=jack --enable-libfreetype --enable-libfribidi
> --enable-libgsm --enable-libmfx --enable-libmp3lame --enable-openal
> --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus
> --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libtheora
> --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libwebp
> --enable-libx264 --enable-libx265 --enable-avfilter --enable-postproc
> --enable-pthreads --disable-static --enable-shared --enable-gpl
> --enable-version3 --enable-nonfree --disable-debug --enable-stripping
> --enable-vaapi --shlibdir=/usr/lib64 --enable-runtime-cpudetect
> install prefix            /usr
> source path               .
> C compiler                gcc
> C library                 glibc
> ARCH                      x86 (generic)
> big-endian                no
> runtime cpu detection     yes
> standalone assembly       yes
> x86 assembler             nasm
> MMX enabled               yes
> MMXEXT enabled            yes
> 3DNow! enabled            yes
> 3DNow! extended enabled   yes
> SSE enabled               yes
> SSSE3 enabled             yes
> AESNI enabled             yes
> AVX enabled               yes
> AVX2 enabled              yes
> AVX-512 enabled           yes
> XOP enabled               yes
> FMA3 enabled              yes
> FMA4 enabled              yes
> i686 features enabled     yes
> CMOV is fast              yes
> EBX available             yes
> EBP available             yes
> debug symbols             no
> strip symbols             yes
> optimize for size         no
> optimizations             yes
> static                    no
> shared                    yes
> postprocessing support    yes
> network support           yes
> threading support         pthreads
> safe bitstream reader     yes
> texi2html enabled         no
> perl enabled              yes
> pod2man enabled           yes
> makeinfo enabled          yes
> makeinfo supports HTML    yes
>
> External libraries:
> alsa                    libass                  libgsm
> libtheora               libxcb                  sdl2
> bzlib                   libbluray               libmp3lame
> libv4l2                 libxcb_shape            xlib
> frei0r                  libcdio                 libopenjpeg
> libvorbis               libxcb_shm              zlib
> gcrypt                  libfdk_aac              libopus
> libvpx                  libxcb_xfixes
> gnutls                  libfontconfig           libpulse
> libwebp                 lzma
> iconv                   libfreetype             libsoxr
> libx264                 openal
> ladspa                  libfribidi              libspeex
> libx265                 opengl
>
> External libraries providing hardware acceleration:
> cuda                    cuvid                   libmfx
> nvenc                   v4l2_m2m                vdpau
> cuda_llvm               ffnvcodec               nvdec
> opencl                  vaapi                   xvmc
>
> Libraries:
> avcodec                 avfilter                avutil
> swresample
> avdevice                avformat                postproc
> swscale
>
> Programs:
> ffmpeg                  ffplay                  ffprobe
>
> Any help appreciated.
>
> Also, how would I just build with vaapi and not qsv ?
>
> sean
>


libva (and vaapi enablement) are autodetected. They will be enabled if
libva and necessary headers are present in pkgconfig path.

Just omit --enable-libmfx

>
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: can't build today's git with qsv

Carl Eugen Hoyos-2
In reply to this post by sean darcy
Am Mo., 25. Nov. 2019 um 23:45 Uhr schrieb sean darcy <[hidden email]>:
>
> On Fedora 31, today's git:
>
> libavcodec/qsvenc.c: In function 'qsv_retrieve_enc_vp9_params':
> libavcodec/qsvenc.c:827:25: error: 'vp9_extend_buf' undeclared (first
> use in th>
>    827 |         (mfxExtBuffer*)&vp9_extend_buf,
>        |                         ^~~~~~~~~~~~~~

Please test the following inlined patch:

diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c
index 93d49ba21d..1bc5600061 100644
--- a/libavcodec/qsvenc.c
+++ b/libavcodec/qsvenc.c
@@ -824,7 +824,9 @@
 #endif

     mfxExtBuffer *ext_buffers[] = {
+#if QSV_HAVE_EXT_VP9_PARAM
         (mfxExtBuffer*)&vp9_extend_buf,
+#endif
 #if QSV_HAVE_CO2
         (mfxExtBuffer*)&co2,
 #endif


Unrelated:
The configure option arch does not do what you think it does,
remove it.
I suggest you remove the optflags: Yours do not look completely
insane (as they usually are) but setting them is still a good way
to break compilation.
Not sure if enable-bzlib has an effect, I recommend to remove
it to make the configure line more readable.
disable-libdav1d looks useless.
enable-vaapi has no effect.
enable-stripping is the default
enable-postproc has no effect
enable-runtime-cpudetect does not do what you think it does,
remove it.
enable-indev=jack has no effect
enable-nonfree is only needed once
enable-avfilter has no effect

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Config flags

Carl Zwanzig
On 11/26/2019 9:28 AM, Carl Eugen Hoyos wrote:
> Unrelated:

> enable-vaapi has no effect.
> enable-postproc has no effect
> enable-indev=jack has no effect
> enable-avfilter has no effect

No effect ever or none with the other options/architecture? If those options
never affect the config, should they either be removed or the use flagged to
the user as 'deprecated'? (I don't have time at the moment to trace this out.)

Later,

z!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Config flags

Carl Eugen Hoyos-2
Am Di., 26. Nov. 2019 um 18:34 Uhr schrieb Carl Zwanzig <[hidden email]>:

>
> On 11/26/2019 9:28 AM, Carl Eugen Hoyos wrote:
> > Unrelated:
>
> > enable-vaapi has no effect.
> > enable-postproc has no effect
> > enable-indev=jack has no effect
> > enable-avfilter has no effect
>
> No effect ever or none with the other options/architecture? If those options
> never affect the config, should they either be removed or the use flagged to
> the user as 'deprecated'? (I don't have time at the moment to trace this out.)

They all have an effect if --disable-all is used.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: can't build today's git with qsv

sean darcy
In reply to this post by Carl Eugen Hoyos-2
On 11/26/19 12:28 PM, Carl Eugen Hoyos wrote:

> Am Mo., 25. Nov. 2019 um 23:45 Uhr schrieb sean darcy <[hidden email]>:
>>
>> On Fedora 31, today's git:
>>
>> libavcodec/qsvenc.c: In function 'qsv_retrieve_enc_vp9_params':
>> libavcodec/qsvenc.c:827:25: error: 'vp9_extend_buf' undeclared (first
>> use in th>
>>     827 |         (mfxExtBuffer*)&vp9_extend_buf,
>>         |                         ^~~~~~~~~~~~~~
>
> Please test the following inlined patch:
>
> diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c
> index 93d49ba21d..1bc5600061 100644
> --- a/libavcodec/qsvenc.c
> +++ b/libavcodec/qsvenc.c
> @@ -824,7 +824,9 @@
>   #endif
>
>       mfxExtBuffer *ext_buffers[] = {
> +#if QSV_HAVE_EXT_VP9_PARAM
>           (mfxExtBuffer*)&vp9_extend_buf,
> +#endif
>   #if QSV_HAVE_CO2
>           (mfxExtBuffer*)&co2,
>   #endif
>
>
> Unrelated:
> The configure option arch does not do what you think it does,
> remove it.
> I suggest you remove the optflags: Yours do not look completely
> insane (as they usually are) but setting them is still a good way
> to break compilation.
> Not sure if enable-bzlib has an effect, I recommend to remove
> it to make the configure line more readable.
> disable-libdav1d looks useless.
> enable-vaapi has no effect.
> enable-stripping is the default
> enable-postproc has no effect
> enable-runtime-cpudetect does not do what you think it does,
> remove it.
> enable-indev=jack has no effect
> enable-nonfree is only needed once
> enable-avfilter has no effect
>
> Carl Eugen

Yesterday's git with the patch built.

I'll sort out the config options. They haven't been reviewed in probably
10 years, just new ones added.

Thanks for the prompt response.

sean


_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: can't build today's git with qsv

sean darcy
On 11/26/19 3:03 PM, sean darcy wrote:

> On 11/26/19 12:28 PM, Carl Eugen Hoyos wrote:
>> Am Mo., 25. Nov. 2019 um 23:45 Uhr schrieb sean darcy
>> <[hidden email]>:
>>>
>>> On Fedora 31, today's git:
>>>
>>> libavcodec/qsvenc.c: In function 'qsv_retrieve_enc_vp9_params':
>>> libavcodec/qsvenc.c:827:25: error: 'vp9_extend_buf' undeclared (first
>>> use in th>
>>>     827 |         (mfxExtBuffer*)&vp9_extend_buf,
>>>         |                         ^~~~~~~~~~~~~~
>>
>> Please test the following inlined patch:
>>
>> diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c
>> index 93d49ba21d..1bc5600061 100644
>> --- a/libavcodec/qsvenc.c
>> +++ b/libavcodec/qsvenc.c
>> @@ -824,7 +824,9 @@
>>   #endif
>>
>>       mfxExtBuffer *ext_buffers[] = {
>> +#if QSV_HAVE_EXT_VP9_PARAM
>>           (mfxExtBuffer*)&vp9_extend_buf,
>> +#endif
>>   #if QSV_HAVE_CO2
>>           (mfxExtBuffer*)&co2,
>>   #endif
>>
>>
>> Unrelated:
>> The configure option arch does not do what you think it does,
>> remove it.
>> I suggest you remove the optflags: Yours do not look completely
>> insane (as they usually are) but setting them is still a good way
>> to break compilation.
>> Not sure if enable-bzlib has an effect, I recommend to remove
>> it to make the configure line more readable.
>> disable-libdav1d looks useless.
>> enable-vaapi has no effect.
>> enable-stripping is the default
>> enable-postproc has no effect
>> enable-runtime-cpudetect does not do what you think it does,
>> remove it.
>> enable-indev=jack has no effect
>> enable-nonfree is only needed once
>> enable-avfilter has no effect
>>
>> Carl Eugen
>
> Yesterday's git with the patch built.
>
> I'll sort out the config options. They haven't been reviewed in probably
> 10 years, just new ones added.
>
> Thanks for the prompt response.
>
> sean
>
Well one reason to have superfluous --enable options, is so you can
remember how to disable them. For instance, stripping isn't working.

strip -o ffprobe ffprobe_g
strip:ffprobe_g[.gnu.build.attributes]: corrupt GNU build attribute
note: wrong note type: bad value

and it would have taken a while to find --disable-stripping.

sean


_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: can't build today's git with qsv

Brainiarc7
In reply to this post by Carl Eugen Hoyos-2
> enable-runtime-cpudetect does not do what you think it does,
> remove it.

Why then is it enabled by default? See
https://lists.ffmpeg.org/pipermail/ffmpeg-cvslog/2012-September/054876.html
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: can't build today's git with qsv

Carl Eugen Hoyos-2
Am Di., 26. Nov. 2019 um 21:45 Uhr schrieb Dennis Mungai <[hidden email]>:
>
> > enable-runtime-cpudetect does not do what you think it does,
> > remove it.
>
> Why then is it enabled by default? See
> https://lists.ffmpeg.org/pipermail/ffmpeg-cvslog/2012-September/054876.html

(How is your question related?)
The option only affects a tiny part of FFmpeg and enabled is the
default.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: can't build today's git with qsv

Reindl Harald


Am 26.11.19 um 21:50 schrieb Carl Eugen Hoyos:

> Am Di., 26. Nov. 2019 um 21:45 Uhr schrieb Dennis Mungai <[hidden email]>:
>>
>>> enable-runtime-cpudetect does not do what you think it does,
>>> remove it.
>>
>> Why then is it enabled by default? See
>> https://lists.ffmpeg.org/pipermail/ffmpeg-cvslog/2012-September/054876.html
>
> (How is your question related?)
> The option only affects a tiny part of FFmpeg and enabled is the
> default.

and what the hell is wrong by explicit set a configure param to the
vakue which is default anyways in case someone changes the default?

you likely did not build that much software besides ffmpeg from source,
otherwise you would undertsand why it's good practice to set
enable/disable and with/without in buildscripts
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: can't build today's git with qsv

Carl Eugen Hoyos-2
In reply to this post by sean darcy
Am Di., 26. Nov. 2019 um 21:26 Uhr schrieb sean darcy <[hidden email]>:

> >> enable-stripping is the default

> Well one reason to have superfluous --enable options, is so you can
> remember how to disable them. For instance, stripping isn't working.
>
> strip -o ffprobe ffprobe_g
> strip:ffprobe_g[.gnu.build.attributes]: corrupt GNU build attribute
> note: wrong note type: bad value

Then why are you using --enable-stripping?

In my world, it would be much better if we fixed the issue instead
of you using --disable-stripping (which isn't typically wanted with
FFmpeg).
What do the following show?
$ strip -V
$ strip -h

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: can't build today's git with qsv

sean darcy
On 11/26/19 5:36 PM, Carl Eugen Hoyos wrote:

> Am Di., 26. Nov. 2019 um 21:26 Uhr schrieb sean darcy <[hidden email]>:
>
>>>> enable-stripping is the default
>
>> Well one reason to have superfluous --enable options, is so you can
>> remember how to disable them. For instance, stripping isn't working.
>>
>> strip -o ffprobe ffprobe_g
>> strip:ffprobe_g[.gnu.build.attributes]: corrupt GNU build attribute
>> note: wrong note type: bad value
>
> Then why are you using --enable-stripping?
>
> In my world, it would be much better if we fixed the issue instead
> of you using --disable-stripping (which isn't typically wanted with
> FFmpeg).
> What do the following show?
> $ strip -V
> $ strip -h
>
> Carl Eugen

+ strip -V
GNU strip version 2.32-29.fc31
Copyright (C) 2019 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later
version.
This program has absolutely no warranty.
+ strip -h
Usage: strip <option(s)> in-file(s)
  Removes symbols and sections from files
  The options are:
   -I --input-target=<bfdname>      Assume input file is in format <bfdname>
   -O --output-target=<bfdname>     Create an output file in format
<bfdname>
   -F --target=<bfdname>            Set both input and output format to
<bfdname>
   -p --preserve-dates              Copy modified/access timestamps to
the output
   -D --enable-deterministic-archives
                                    Produce deterministic output when
stripping archives
   -U --disable-deterministic-archives
                                    Disable -D behavior (default)
   -R --remove-section=<name>       Also remove section <name> from the
output
      --remove-relocations <name>   Remove relocations from section <name>
   -s --strip-all                   Remove all symbol and relocation
information
   -g -S -d --strip-debug           Remove all debugging symbols & sections
      --strip-dwo                   Remove all DWO sections
      --strip-unneeded              Remove all symbols not needed by
relocations
      --only-keep-debug             Strip everything but the debug
information
   -M  --merge-notes                Remove redundant entries in note
sections (default)
       --no-merge-notes             Do not attempt to remove redundant notes
   -N --strip-symbol=<name>         Do not copy symbol <name>
   -K --keep-symbol=<name>          Do not strip symbol <name>
      --keep-file-symbols           Do not strip file symbol(s)
   -w --wildcard                    Permit wildcard in symbol comparison
   -x --discard-all                 Remove all non-global symbols
   -X --discard-locals              Remove any compiler-generated symbols
   -v --verbose                     List all object files modified
   -V --version                     Display this program's version number
   -h --help                        Display this output
      --info                        List object formats & architectures
supported
   -o <file>                        Place stripped output into <file>
strip: supported targets: elf64-x86-64 elf32-i386 elf32-iamcu
elf32-x86-64 pei-i386 pei-x86-64 elf64-l1om elf64-k1om elf64-little
elf64-big elf32-little elf32-big pe-x86-64 pe-bigobj-x86-64 pe-i386
plugin srec symbolsrec verilog tekhex binary ihex
Report bugs to <http://bugzilla.redhat.com/bugzilla/>

Either there's been a commit today, or it's just sunspots, but
--enable-stripping now works on today's git.

sean

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: can't build today's git with qsv

Reindl Harald


Am 27.11.19 um 01:35 schrieb sean darcy:

> On 11/26/19 5:36 PM, Carl Eugen Hoyos wrote:
>> Am Di., 26. Nov. 2019 um 21:26 Uhr schrieb sean darcy
>> <[hidden email]>:
>>
>>>>> enable-stripping is the default
>>
>>> Well one reason to have superfluous --enable options, is so you can
>>> remember how to disable them. For instance, stripping isn't working.
>>>
>>> strip -o ffprobe ffprobe_g
>>> strip:ffprobe_g[.gnu.build.attributes]: corrupt GNU build attribute
>>> note: wrong note type: bad value
>>
>> Then why are you using --enable-stripping?
>>
>> In my world, it would be much better if we fixed the issue instead
>> of you using --disable-stripping (which isn't typically wanted with
>> FFmpeg).
>> What do the following show?
>> $ strip -V
>> $ strip -h
>>
> + strip -V
> GNU strip version 2.32-29.fc31


https://bugzilla.redhat.com/show_bug.cgi?id=1774483
https://koji.fedoraproject.org/koji/packageinfo?packageID=310
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: can't build today's git with qsv

sean darcy
In reply to this post by Carl Eugen Hoyos-2
On 11/26/19 5:36 PM, Carl Eugen Hoyos wrote:

> Am Di., 26. Nov. 2019 um 21:26 Uhr schrieb sean darcy <[hidden email]>:
>
>>>> enable-stripping is the default
>
>> Well one reason to have superfluous --enable options, is so you can
>> remember how to disable them. For instance, stripping isn't working.
>>
>> strip -o ffprobe ffprobe_g
>> strip:ffprobe_g[.gnu.build.attributes]: corrupt GNU build attribute
>> note: wrong note type: bad value
>
> Then why are you using --enable-stripping?
>
> In my world, it would be much better if we fixed the issue instead
> of you using --disable-stripping (which isn't typically wanted with
> FFmpeg).
> What do the following show?
> $ strip -V
> $ strip -h
>
> Carl Eugen
>
+ strip -V
GNU strip version 2.32-29.fc31
Copyright (C) 2019 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later
version.
This program has absolutely no warranty.
+ strip -h
Usage: strip <option(s)> in-file(s)
  Removes symbols and sections from files
  The options are:
   -I --input-target=<bfdname>      Assume input file is in format <bfdname>
   -O --output-target=<bfdname>     Create an output file in format
<bfdname>
   -F --target=<bfdname>            Set both input and output format to
<bfdname>
   -p --preserve-dates              Copy modified/access timestamps to
the output
   -D --enable-deterministic-archives
                                    Produce deterministic output when
stripping archives
   -U --disable-deterministic-archives
                                    Disable -D behavior (default)
   -R --remove-section=<name>       Also remove section <name> from the
output
      --remove-relocations <name>   Remove relocations from section <name>
   -s --strip-all                   Remove all symbol and relocation
information
   -g -S -d --strip-debug           Remove all debugging symbols & sections
      --strip-dwo                   Remove all DWO sections
      --strip-unneeded              Remove all symbols not needed by
relocations
      --only-keep-debug             Strip everything but the debug
information
   -M  --merge-notes                Remove redundant entries in note
sections (default)
       --no-merge-notes             Do not attempt to remove redundant notes
   -N --strip-symbol=<name>         Do not copy symbol <name>
   -K --keep-symbol=<name>          Do not strip symbol <name>
      --keep-file-symbols           Do not strip file symbol(s)
   -w --wildcard                    Permit wildcard in symbol comparison
   -x --discard-all                 Remove all non-global symbols
   -X --discard-locals              Remove any compiler-generated symbols
   -v --verbose                     List all object files modified
   -V --version                     Display this program's version number
   -h --help                        Display this output
      --info                        List object formats & architectures
supported
   -o <file>                        Place stripped output into <file>
strip: supported targets: elf64-x86-64 elf32-i386 elf32-iamcu
elf32-x86-64 pei-i386 pei-x86-64 elf64-l1om elf64-k1om elf64-little
elf64-big elf32-little elf32-big pe-x86-64 pe-bigobj-x86-64 pe-i386
plugin srec symbolsrec verilog tekhex binary ihex
Report bugs to <http://bugzilla.redhat.com/bugzilla/>

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: can't build today's git with qsv

Reindl Harald


Am 27.11.19 um 16:35 schrieb sean darcy:
> + strip -V
> GNU strip version 2.32-29.fc31

hell, after that many hours what about upgrade binutils or downgrade it
to a version without the "[.gnu.build.attributes]: corrupt GNU build
attribute note: wrong note type: bad value" bug?

https://bugzilla.redhat.com/show_bug.cgi?id=1774483
https://koji.fedoraproject.org/koji/packageinfo?packageID=310
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: can't build today's git with qsv

sean darcy
On 11/27/19 11:11 AM, Reindl Harald wrote:

>
>
> Am 27.11.19 um 16:35 schrieb sean darcy:
>> + strip -V
>> GNU strip version 2.32-29.fc31
>
> hell, after that many hours what about upgrade binutils or downgrade it
> to a version without the "[.gnu.build.attributes]: corrupt GNU build
> attribute note: wrong note type: bad value" bug?
>

Did that. Thanks for the lead.

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".