[OM Cooker] clang segfaults on armv7hl
Alexander Stefanov-Khryukin
nobodydead at gmail.com
Fri May 27 08:56:22 EDT 2016
It is not qemu issue. Culprit is clang, latest snapshot not so stable as
expected.
27 мая 2016 г. 15:41 пользователь "Tomasz Paweł Gajc" <tpgxyz at gmail.com>
написал:
> Dnia piątek, 27 maja 2016 02:16:11 Alexander Stefanov-Khryukin pisze:
>
> > [root at 612980f6f1d5 tmp]# sh /tmp/common-4183e9.sh
>
> > *** Error in `/usr/bin/clang-3.8': malloc(): memory corruption:
> 0x017d5c70
>
> > ***
>
> >
>
>
>
> Maybe updat to latest qemu will help ?
>
>
>
> https://abf.openmandriva.org/build_lists/63420
>
>
>
> Makefile:1027: recipe for target 'jedec.o' failed
>
> qemu: uncaught target signal 11 (Segmentation fault) - core dumped
>
> clang-3.8: error: unable to execute command: Segmentation fault (core dumped)
>
> clang-3.8: error: clang frontend command failed due to signal (use -v to see invocation)
>
> clang version 3.8.1 (branches/release_38)
>
> Target: armv7hl-mandriva-linux-gnueabihf
>
> Thread model: posix
>
> InstalledDir: /usr/bin
>
> clang-3.8: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
>
> clang-3.8: note: diagnostic msg:
>
> ********************
>
> PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
>
> Preprocessed source(s) and associated run script(s) are located at:
>
> clang-3.8: note: diagnostic msg: /tmp/jedec-789152.c
>
> clang-3.8: note: diagnostic msg: /tmp/jedec-789152.sh
>
> clang-3.8: note: diagnostic msg:
>
> ********************
>
> make: *** [jedec.o] Error 254
>
>
> > 2016-05-27 1:36 GMT+03:00 Alexander Stefanov-Khryukin <
> nobodydead at gmail.com>
>
> > > Looking
>
> > >
>
> > > 2016-05-26 22:25 GMT+03:00 Tomasz Paweł Gajc <tpgxyz at gmail.com>:
>
> > >> Hi,
>
> > >>
>
> > >>
>
> > >>
>
> > >> looks like clang segfaults when building packages on armv7hl either on
>
> > >> cooker and lx3.
>
> > >>
>
> > >>
>
> > >>
>
> > >> See logs: https://abf.openmandriva.org/build_lists/63268
>
> > >>
>
> > >>
>
> > >>
>
> > >>
>
> > >>
>
> > >> qemu: uncaught target signal 11 (Segmentation fault) - core dumped
>
> > >>
>
> > >> clang-3.8: error: unable to execute command: Segmentation fault (core
>
> > >> dumped)
>
> > >>
>
> > >> clang-3.8: error: clang frontend command failed due to signal (use -v
> to
>
> > >> see invocation)
>
> > >>
>
> > >> clang version 3.8.1 (branches/release_38)
>
> > >>
>
> > >> Target: armv7hl-mandriva-linux-gnueabihf
>
> > >>
>
> > >> Thread model: posix
>
> > >>
>
> > >> InstalledDir: /usr/bin
>
> > >>
>
> > >> clang-3.8: note: diagnostic msg: PLEASE submit a bug report to
>
> > >> http://llvm.org/bugs/ and include the crash backtrace, preprocessed
>
> > >> source, and associated run script.
>
> > >>
>
> > >> clang-3.8: note: diagnostic msg:
>
> > >>
>
> > >> ********************
>
> > >>
>
> > >> PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
>
> > >>
>
> > >> Preprocessed source(s) and associated run script(s) are located at:
>
> > >>
>
> > >> clang-3.8: note: diagnostic msg: /tmp/asn1-parse-ac9f3a.c
>
> > >>
>
> > >> clang-3.8: note: diagnostic msg: /tmp/asn1-parse-ac9f3a.sh
>
> > >>
>
> > >> clang-3.8: note: diagnostic msg:
>
> > >>
>
> > >> ********************
>
> > >>
>
> > >> make[3]: *** [asn1-parse.lo] Error 1
>
> > >>
>
> > >> make[3]: Entering directory '/builddir/build/BUILD/libksba-1.3.4/src'
>
> > >>
>
> > >> /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang
>
> > >> -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -Os -gdwarf-4
>
> > >> -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security
>
> > >> -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC
>
> > >> -g -march=armv7-a -mfloat-abi=hard -mfpu=neon -flto -Wall -Wcast-align
>
> > >> -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign
>
> > >> -fvisibility=hidden -c -o der-encoder.lo der-encoder.c
>
> > >>
>
> > >> libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../gl
>
> > >> -I../gl -Os -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat
>
> > >> -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector
>
> > >> --param=ssp-buffer-size=4 -fPIC -g -march=armv7-a -mfloat-abi=hard
>
> > >> -mfpu=neon -flto -Wall -Wcast-align -Wshadow -Wstrict-prototypes
>
> > >> -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c
> der-encoder.c
>
> > >> -fPIC -DPIC -o .libs/der-encoder.o
>
> > >>
>
> > >> make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.3.4/src'
>
> > >>
>
> > >> make[3]: Entering directory '/builddir/build/BUILD/libksba-1.3.4/src'
>
> > >>
>
> > >> /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang
>
> > >> -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -Os -gdwarf-4
>
> > >> -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security
>
> > >> -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC
>
> > >> -g -march=armv7-a -mfloat-abi=hard -mfpu=neon -flto -Wall -Wcast-align
>
> > >> -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign
>
> > >> -fvisibility=hidden -c -o ber-decoder.lo ber-decoder.c
>
> > >>
>
> > >> libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../gl
>
> > >> -I../gl -Os -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat
>
> > >> -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector
>
> > >> --param=ssp-buffer-size=4 -fPIC -g -march=armv7-a -mfloat-abi=hard
>
> > >> -mfpu=neon -flto -Wall -Wcast-align -Wshadow -Wstrict-prototypes
>
> > >> -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c
> ber-decoder.c
>
> > >> -fPIC -DPIC -o .libs/ber-decoder.o
>
> > >>
>
> > >> Makefile:655: recipe for target 'ber-decoder.lo' failed
>
> > >>
>
> > >> make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.3.4/src'
>
> > >>
>
> > >> qemu: uncaught target signal 11 (Segmentation fault) - core dumped
>
> > >>
>
> > >> clang-3.8: error: unable to execute command: Segmentation fault (core
>
> > >> dumped)
>
> > >>
>
> > >> clang-3.8: error: clang frontend command failed due to signal (use -v
> to
>
> > >> see invocation)
>
> > >>
>
> > >> clang version 3.8.1 (branches/release_38)
>
> > >>
>
> > >> Target: armv7hl-mandriva-linux-gnueabihf
>
> > >>
>
> > >> Thread model: posix
>
> > >>
>
> > >> InstalledDir: /usr/bin
>
> > >>
>
> > >> clang-3.8: note: diagnostic msg: PLEASE submit a bug report to
>
> > >> http://llvm.org/bugs/ and include the crash backtrace, preprocessed
>
> > >> source, and associated run script.
>
> > >>
>
> > >> clang-3.8: note: diagnostic msg:
>
> > >>
>
> > >> ********************
>
> > >>
>
> > >> PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
>
> > >>
>
> > >> Preprocessed source(s) and associated run script(s) are located at:
>
> > >>
>
> > >> clang-3.8: note: diagnostic msg: /tmp/ber-decoder-244173.c
>
> > >>
>
> > >> clang-3.8: note: diagnostic msg: /tmp/ber-decoder-244173.sh
>
> > >>
>
> > >> clang-3.8: note: diagnostic msg:
>
> > >>
>
> > >> ********************
>
> > >>
>
> > >> make[3]: *** [ber-decoder.lo] Error 1
>
> > >>
>
> > >>
>
> > >> --
>
> > >>
>
> > >> Cheers
>
> > >>
>
> > >> TPG
>
> > >>
>
> > >> _______________________________________________
>
> > >> OM-Cooker mailing list
>
> > >> OM-Cooker at ml.openmandriva.org
>
> > >>
> http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org
>
>
>
> --
>
> Cheers
>
> TPG
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ml.openmandriva.org/pipermail/om-cooker_ml.openmandriva.org/attachments/20160527/2bf031fb/attachment-0001.html>
More information about the OM-Cooker
mailing list