[debian-mysql] Bug#853537: binutils: /usr/bin/gcc-ar segfaults

Adrian Bunk bunk at debian.org
Fri Aug 11 05:53:36 UTC 2017


Control: reassign -1 binutils
Control: retitle -1 binutils: /usr/bin/gcc-ar segfaults
Control: affects -1 src:mariadb-10.1

On Thu, Aug 10, 2017 at 05:04:59PM -0400, Matthias Klose wrote:
> 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 '/<<PKGBUILDDIR>>/builddir'
> > Error running link command: Segmentation fault
> > make[4]: Leaving directory '/<<PKGBUILDDIR>>/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 '/<<PKGBUILDDIR>>/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 '/<<PKGBUILDDIR>>/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.

No input files are required:

$ gcc-ar
Usage: /usr/bin/ar [emulation options] [-]{dmpqrstx}[abcDfilMNoPsSTuvV] [--plugin <name>] [member-name] [count] archive-file file...
...
$ /usr/bin/gcc-ar
Segmentation fault
$

> Matthias

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the pkg-mysql-maint mailing list