Re: [FFmpeg-user] Compiling on an aarch64 machine

2020-07-09 Thread Moritz Barsnick
On Thu, Jul 09, 2020 at 10:16:29 +0200, Verachten Bruno wrote:
> The fact that FFMpeg does not compile without this trick of exporting an
> empty CFLAGS variable on aarch64 there: https://trac.ffmpeg.org/ .
> If you consider this is not a bug, that's perfect for me, but in my point
> of view, that should be written somewhere... If not in FFMpeg
> documentation, I'll write it down in a blog post.

Any autotools (autoconf/configure) based tool will also take a CFLAGS
environment into consideration. Those tools will also likely not build
with your environment. Good luck opening 300,000[*] bug tickets. ;-)
(Note: ffmpeg is not autoconf based.)

Why would you even export this variable, if your compiler doesn't
support it?

Moritz

[*] Wild guesstimate.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling on an aarch64 machine

2020-07-09 Thread Verachten Bruno
> Could this behaviour be considered as a bug? If so, I can file it.

> What would you like to report where?
>
The fact that FFMpeg does not compile without this trick of exporting an
empty CFLAGS variable on aarch64 there: https://trac.ffmpeg.org/ .
If you consider this is not a bug, that's perfect for me, but in my point
of view, that should be written somewhere... If not in FFMpeg
documentation, I'll write it down in a blog post.

Thanks.
-- 
Bruno Verachten
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling on an aarch64 machine

2020-07-08 Thread Carl Eugen Hoyos
Am Mi., 8. Juli 2020 um 21:36 Uhr schrieb Verachten Bruno :

> Could this behaviour be considered as a bug? If so, I can file it.

What would you like to report where?

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling on an aarch64 machine

2020-07-08 Thread Verachten Bruno
> > > CFLAGS='-mfpu=neon'

> > > This is apparently not ignored (I thought it should be) and you are
> > > therefore responsible not to set these variables.
> > Thanks a lot. Unfortunately, These variables are not set on my machine...
> > or am I mistaken?
> I tested that if I don't export CFLAGS, they do not show up in config.log,
> if I export a value, I can reproduce your issue (or I can set a value that
> does not break compilation).
>
> I also confirmed that git grep mfpu did not show anything suspicious.
>
> In general, builds that use CFLAGS are not supported.

I exported an empty CFLAGS variable, and configure succeeded. The same
happened for x264.
The compilation is not finished yet, but all looks fine to me.

Could this behaviour be considered as a bug? If so, I can file it.
If not, thanks a lot for your help.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling on an aarch64 machine

2020-07-08 Thread Carl Eugen Hoyos
Am Mi., 8. Juli 2020 um 12:24 Uhr schrieb Verachten Bruno :
>
> On Tue, Jul 7, 2020 at 10:49 PM Carl Eugen Hoyos  wrote:
>
> > Am Di., 7. Juli 2020 um 21:34 Uhr schrieb Verachten Bruno <
> > gount...@gmail.com>:
> >
> > > CFLAGS='-mfpu=neon'
> >
> > This is apparently not ignored (I thought it should be) and you are
> > therefore responsible not to set these variables.
>
> Thanks a lot. Unfortunately, These variables are not set on my machine...
> or am I mistaken?

I tested that if I don't export CFLAGS, they do not show up in config.log,
if I export a value, I can reproduce your issue (or I can set a value that
does not break compilation).

I also confirmed that git grep mfpu did not show anything suspicious.

In general, builds that use CFLAGS are not supported.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling on an aarch64 machine

2020-07-08 Thread Carl Zwanzig

On 7/8/2020 3:24 AM, Verachten Bruno wrote:

On Tue, Jul 7, 2020 at 10:49 PM Carl Eugen Hoyos  wrote:


Am Di., 7. Juli 2020 um 21:34 Uhr schrieb Verachten Bruno :


CFLAGS='-mfpu=neon'


This is apparently not ignored (I thought it should be) and you are
therefore responsible not to set these variables.


Thanks a lot. Unfortunately, These variables are not set on my machine...
or am I mistaken?
set|grep -i CFLAGS returns nothing, as set|grep -i fpu .


A cursory check says that's being set by configure, try running that with 
"--disable-neon". That may cause other problems, but it's a quick thing to 
check.


z!

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling on an aarch64 machine

2020-07-08 Thread Verachten Bruno
On Tue, Jul 7, 2020 at 10:49 PM Carl Eugen Hoyos  wrote:

> Am Di., 7. Juli 2020 um 21:34 Uhr schrieb Verachten Bruno <
> gount...@gmail.com>:
>
> > CFLAGS='-mfpu=neon'
>
> This is apparently not ignored (I thought it should be) and you are
> therefore responsible not to set these variables.

Thanks a lot. Unfortunately, These variables are not set on my machine...
or am I mistaken?
set|grep -i CFLAGS returns nothing, as set|grep -i fpu .

Best regards,

Bruno Verachten
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling on an aarch64 machine

2020-07-07 Thread Carl Eugen Hoyos
Am Di., 7. Juli 2020 um 21:34 Uhr schrieb Verachten Bruno :

> CFLAGS='-mfpu=neon'

This is apparently not ignored (I thought it should be) and you are
therefore responsible not to set these variables.

Please find out what top-posting means and avoid it here.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Compiling on an aarch64 machine

2020-07-07 Thread Carl Eugen Hoyos
Am Di., 7. Juli 2020 um 16:07 Uhr schrieb Verachten Bruno :

> Include the log file "ffbuild/config.log" produced by configure as this
> will help solve the problem.

 What is unclear about this request?

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".