Re: [FFmpeg-trac] #7048(build system:reopened): building 3.4.2 with gcc 7.3.0 with altivec support enabled fails on ppc (Gentoo Linux)

2018-03-03 Thread FFmpeg
#7048: building 3.4.2 with gcc 7.3.0 with altivec support enabled fails on ppc
(Gentoo Linux)
-+-
 Reporter:   |Owner:
  ernsteiswuerfel|   Status:  reopened
 Type:  defect   |Component:  build
 Priority:  normal   |  system
  Version:  unspecified  |   Resolution:
 Keywords:  gcc altivec  |   Blocked By:
  ppc|  Reproduced by developer:  0
 Blocking:   |
Analyzed by developer:  0|
-+-

Comment (by cehoyos):

 Please test if removing `--opflags` from your configure line fixes the
 issue for you.

 The next question will be if `--enable-small` works with your toolchain.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #7048(build system:reopened): building 3.4.2 with gcc 7.3.0 with altivec support enabled fails on ppc (Gentoo Linux)

2018-03-03 Thread FFmpeg
#7048: building 3.4.2 with gcc 7.3.0 with altivec support enabled fails on ppc
(Gentoo Linux)
-+-
 Reporter:   |Owner:
  ernsteiswuerfel|   Status:  reopened
 Type:  defect   |Component:  build
 Priority:  normal   |  system
  Version:  unspecified  |   Resolution:
 Keywords:  gcc altivec  |   Blocked By:
  ppc|  Reproduced by developer:  0
 Blocking:   |
Analyzed by developer:  0|
-+-

Comment (by ernsteiswuerfel):

 I did expect {{{--disable-runtime-cpudetec}}} to do what the config
 options tell, which is to create a smaller binary. Probably that's what
 Gentoo thinks too. ;)

 I don't think it's necessary to change configure to deal with custom
 compilations flags, as altivec is not among the default flags in Gentoo
 ppc/ppc64. If you build ffmpeg-3.4.2 without altivec it does just fine
 (even with gcc-7.3.0).

 I will look into the Gentoo bugs as you suggested and report back in a few
 days.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #7048(build system:reopened): building 3.4.2 with gcc 7.3.0 with altivec support enabled fails on ppc (Gentoo Linux)

2018-03-02 Thread FFmpeg
#7048: building 3.4.2 with gcc 7.3.0 with altivec support enabled fails on ppc
(Gentoo Linux)
-+-
 Reporter:   |Owner:
  ernsteiswuerfel|   Status:  reopened
 Type:  defect   |Component:  build
 Priority:  normal   |  system
  Version:  unspecified  |   Resolution:
 Keywords:  gcc altivec  |   Blocked By:
  ppc|  Reproduced by developer:  0
 Blocking:   |
Analyzed by developer:  0|
-+-
Changes (by cehoyos):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Unrelated: {{{--disable-runtime-cpudetect}}} does not do what you/Gentoo
 expect, you cannot disable the call to the cpu detection function.

 I assume this is the the same issue as Gentoo bugs 578802 and 645778:
 Perhaps you can find out if completely removing {{{--optflags}}} from the
 build has a disadvantage (after confirming this is also your issue)?

 I wonder if it would be an advantage for you if configure would detect the
 broken custom compilation flags and disable !AltiVec...

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac