Bug#853537: mariadb-10.1: ftbfs with GCC-7

2017-08-10 Thread Matthias Klose
On 10.08.2017 15:29, Ondřej Surý wrote:
> Package: src:mariadb-10.1
> Followup-For: Bug #853537
> 
> Hi Matthias,
> 
> the full build.log you sent contains:
> 
> make[4]: Leaving directory '/<>/builddir'
> Error running link command: Segmentation fault
> make[4]: Leaving directory '/<>/builddir'
> storage/tokudb/PerconaFT/portability/CMakeFiles/tokuportability_static_conv.dir/build.make:328:
>  recipe for target 
> 'storage/tokudb/PerconaFT/portability/libtokuportability_static_conv.a' failed
> make[4]: *** 
> [storage/tokudb/PerconaFT/portability/libtokuportability_static_conv.a] Error 
> 1
> make[4]: Leaving directory '/<>/builddir'
> CMakeFiles/Makefile2:6419: recipe for target 
> 'storage/tokudb/PerconaFT/portability/CMakeFiles/tokuportability_static_conv.dir/all'
>  failed
> make[3]: *** 
> [storage/tokudb/PerconaFT/portability/CMakeFiles/tokuportability_static_conv.dir/all]
>  Error 2
> make[3]: *** Waiting for unfinished jobs
> make[4]: Leaving directory '/<>/builddir'
> 
> Notice the:
> Error running link command: Segmentation fault
> 
> It was just buried in the logs because of parallel build.
> 
> I can reproduce this with mariadb-10.1_10.1.26 that I am trying to
> build now and it's failing with the same error.
> 
> I am not sure this is strictly mariadb-10.1's code fault, but I am
> willing to help to debug the issue, hence I am not reassigning it to
> gcc-7 (and/or binutils).

we need a tarball with all the files needed for the link, including system
libraries.  I can help with the latter, but would appreciate it if you can
provide such a tarball.

Matthias



Bug#853537: mariadb-10.1: ftbfs with GCC-7

2017-08-10 Thread Ondřej Surý
Package: src:mariadb-10.1
Followup-For: Bug #853537

Hi Matthias,

the full build.log you sent contains:

make[4]: Leaving directory '/<>/builddir'
Error running link command: Segmentation fault
make[4]: Leaving directory '/<>/builddir'
storage/tokudb/PerconaFT/portability/CMakeFiles/tokuportability_static_conv.dir/build.make:328:
 recipe for target 
'storage/tokudb/PerconaFT/portability/libtokuportability_static_conv.a' failed
make[4]: *** 
[storage/tokudb/PerconaFT/portability/libtokuportability_static_conv.a] Error 1
make[4]: Leaving directory '/<>/builddir'
CMakeFiles/Makefile2:6419: recipe for target 
'storage/tokudb/PerconaFT/portability/CMakeFiles/tokuportability_static_conv.dir/all'
 failed
make[3]: *** 
[storage/tokudb/PerconaFT/portability/CMakeFiles/tokuportability_static_conv.dir/all]
 Error 2
make[3]: *** Waiting for unfinished jobs
make[4]: Leaving directory '/<>/builddir'

Notice the:
Error running link command: Segmentation fault

It was just buried in the logs because of parallel build.

I can reproduce this with mariadb-10.1_10.1.26 that I am trying to
build now and it's failing with the same error.

I am not sure this is strictly mariadb-10.1's code fault, but I am
willing to help to debug the issue, hence I am not reassigning it to
gcc-7 (and/or binutils).

Cheers,
Ondrej

-- System Information:
Debian Release: 9.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable-debug'), (500, 'stable-debug'), 
(500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-83-generic (SMP w/8 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)