FS#59780 - [flex] Segfault during build against glibc >= 2.26
Attached to Project:
Arch Linux
Opened by Sergio Iglesias (sergiotarxz) - Friday, 24 August 2018, 00:46 GMT
Last edited by Allan McRae (Allan) - Sunday, 04 November 2018, 01:49 GMT
Opened by Sergio Iglesias (sergiotarxz) - Friday, 24 August 2018, 00:46 GMT
Last edited by Allan McRae (Allan) - Sunday, 04 November 2018, 01:49 GMT
|
Details
Description:
glibc-2.26 broke the flex build, current version in archlinux is glibc-2.28 so I found myself unable to compile this package without patching it first. Thanks linuxfromscratch.org/lfs/view/development/chapter06/flex.html Additional info: * package version(s) glibc-2.28 (current glibc version in archlinux git) flex-2.6.4 * config and/or log files etc. ... gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -MT stage1flex-yylex.o -MD -MP -MF .deps/stage1flex-yylex.Tpo -c -o stage1flex-yylex.o `test -f 'yylex.c' || echo './'`yylex.c mv -f .deps/stage1flex-parse.Tpo .deps/stage1flex-parse.Po /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -version-info 2:0:0 -o libfl.la -rpath /usr/lib libmain.lo libyywrap.lo -lm mv -f .deps/stage1flex-yylex.Tpo .deps/stage1flex-yylex.Po mv -f .deps/stage1flex-tblcmp.Tpo .deps/stage1flex-tblcmp.Po /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o stage1flex stage1flex-scan.o stage1flex-buf.o stage1flex-ccl.o stage1flex-dfa.o stage1flex-ecs.o stage1flex-filter.o stage1flex-gen.o stage1flex-main.o stage1flex-misc.o stage1flex-nfa.o stage1flex-options.o stage1flex-parse.o stage1flex-regex.o stage1flex-scanflags.o stage1flex-scanopt.o stage1flex-skel.o stage1flex-sym.o stage1flex-tables.o stage1flex-tables_shared.o stage1flex-tblcmp.o stage1flex-yylex.o -lm libtool: link: gcc -shared -fPIC -DPIC .libs/libmain.o .libs/libyywrap.o -lm -g -O2 -Wl,-soname -Wl,libfl.so.2 -o .libs/libfl.so.2.0.0 libtool: link: (cd ".libs" && rm -f "libfl.so.2" && ln -s "libfl.so.2.0.0" "libfl.so.2") libtool: link: (cd ".libs" && rm -f "libfl.so" && ln -s "libfl.so.2.0.0" "libfl.so") libtool: link: ar cru .libs/libfl.a libmain.o libyywrap.o ar: `u' modifier ignored since `D' is the default (see `U') libtool: link: ranlib .libs/libfl.a libtool: link: ( cd ".libs" && rm -f "libfl.la" && ln -s "../libfl.la" "libfl.la" ) libtool: link: gcc -g -O2 -o stage1flex stage1flex-scan.o stage1flex-buf.o stage1flex-ccl.o stage1flex-dfa.o stage1flex-ecs.o stage1flex-filter.o stage1flex-gen.o stage1flex-main.o stage1flex-misc.o stage1flex-nfa.o stage1flex-options.o stage1flex-parse.o stage1flex-regex.o stage1flex-scanflags.o stage1flex-scanopt.o stage1flex-skel.o stage1flex-sym.o stage1flex-tables.o stage1flex-tables_shared.o stage1flex-tblcmp.o stage1flex-yylex.o -lm ./stage1flex -o stage1scan.c ./scan.l make[2]: *** [Makefile:1696: stage1scan.c] Segmentation fault (core dumped) make[2]: Leaving directory '/sources/flex/flex-2.6.4/src' make[1]: *** [Makefile:546: all] Error 2 make[1]: Leaving directory '/sources/flex/flex-2.6.4/src' make: *** [Makefile:533: all-recursive] Error 1 Steps to reproduce: $ ./configure --prefix=/usr $ make -j<number of cpu cores> |
This task depends upon
Closed by Allan McRae (Allan)
Sunday, 04 November 2018, 01:49 GMT
Reason for closing: Fixed
Additional comments about closing: flex-2.6.4-2
Sunday, 04 November 2018, 01:49 GMT
Reason for closing: Fixed
Additional comments about closing: flex-2.6.4-2