Re: [FFmpeg-trac] #6992(build system:new): Cross-building ffmpeg with static gnutls for android fails at configure step

2018-04-25 Thread FFmpeg
#6992: Cross-building ffmpeg with static gnutls for android fails at configure
step
-+
 Reporter:  alucryd  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:  build system
  Version:  3.4  |   Resolution:
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+

Comment (by alucryd):

 Turns out order matters, -lgmp needs to come after -lnettle and -lhogweed.

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


Re: [FFmpeg-trac] #6992(build system:new): Cross-building ffmpeg with static gnutls for android fails at configure step

2018-02-21 Thread FFmpeg
#6992: Cross-building ffmpeg with static gnutls for android fails at configure
step
-+
 Reporter:  alucryd  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:  build system
  Version:  3.4  |   Resolution:
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+

Comment (by alucryd):

 Hi guys, do you have any pointer that would help me diagnose the issue?

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


Re: [FFmpeg-trac] #6992(build system:new): Cross-building ffmpeg with static gnutls for android fails at configure step

2018-02-04 Thread FFmpeg
#6992: Cross-building ffmpeg with static gnutls for android fails at configure
step
-+
 Reporter:  alucryd  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:  build system
  Version:  3.4  |   Resolution:
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+

Comment (by alucryd):

 I can reproduce using the current git head as well.

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


Re: [FFmpeg-trac] #6992(build system:new): Cross-building ffmpeg with static gnutls for android fails at configure step

2018-01-30 Thread FFmpeg
#6992: Cross-building ffmpeg with static gnutls for android fails at configure
step
-+
 Reporter:  alucryd  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:  build system
  Version:  3.4  |   Resolution:
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+

Comment (by alucryd):

 Reproduced with armv7 and aarch64, I've attached the config.log here this
 time.

 Here is an overview of how I'm building gmp:

 ./configure --host=aarch64-linux-android
 --prefix=/srv/buildbot/aarch64_android/libgmp-aarch64_android/staging
 --disable-shared --enable-static

 environment:
   CC=aarch64-linux-android-clang
   CFLAGS=-march=armv8-a -Os -pipe -fPIE
 -I/srv/buildbot/aarch64_android/staging/include
   CHOST=aarch64-linux-android
   CPPFLAGS=-D_FORTIFY_SOURCE=2
 -I/srv/buildbot/aarch64_android/staging/include
   CXX=aarch64-linux-android-clang++
   CXXFLAGS=-march=armv8-a -Os -pipe -fPIE
 -I/srv/buildbot/aarch64_android/staging/include
   LANG=en_US.utf8
   LANGUAGE=C
   LC_ALL=C
   LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -pie -static-
 libstdc++ -L/srv/buildbot/aarch64_android/staging/lib
 
PATH=/srv/buildbot/aarch64_android/toolchain/bin:/srv/buildbot/aarch64_android/staging/bin:/srv/buildbot/aarch64_android/staging/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin
   PKG_CONFIG_PATH=/srv/buildbot/aarch64_android/staging/lib/pkgconfig

 FYI, I've been successfully cross-building a dynamically linked ffmpeg
 with the same gmp (albeit with --disable-static and --enable-shared) for
 linux platforms with all those architectures using toolchains from linaro
 or generated with crosstool-ng. The only thing that doesn't work when I'm
 going static is gnutls.

 I'll try the git head as soon as I can.

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


Re: [FFmpeg-trac] #6992(build system:new): Cross-building ffmpeg with static gnutls for android fails at configure step

2018-01-29 Thread FFmpeg
#6992: Cross-building ffmpeg with static gnutls for android fails at configure
step
-+
 Reporter:  alucryd  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:  build system
  Version:  3.4  |   Resolution:
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+

Comment (by cehoyos):

 Is the issue reproducible with current FFmpeg git head?
 Please attach all necessary log files here in the ticket, do not use
 external resources (except for large media files).

 How did you compile gmp?

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


Re: [FFmpeg-trac] #6992(build system:new): Cross-building ffmpeg with static gnutls for android fails at configure step (was: Cross-build ffmpeg with static gnutls on android fails at configure step)

2018-01-29 Thread FFmpeg
#6992: Cross-building ffmpeg with static gnutls for android fails at configure
step
-+
 Reporter:  alucryd  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:  build system
  Version:  3.4  |   Resolution:
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+

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