Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable LTO #1627

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

fixup! Enable LTO for compiling Spicy/HILTI sources.

d4344c9
Select commit
Loading
Failed to load commit list.
Draft

Enable LTO #1627

fixup! Enable LTO for compiling Spicy/HILTI sources.
d4344c9
Select commit
Loading
Failed to load commit list.
Cirrus CI / docker_alpine_3_18 failed Dec 22, 2023 in 37m 20s

Task Summary

Instruction test_install failed in 22:23

Details

✅ 00:04 clone
✅ 00:24 ccache
✅ 00:21 update_git
✅ 00:06 configure
✅ 13:31 build
❌ 22:23 test_install

[#16] spicy.types.unit.void-requires [installation] ... ok
[#14] spicy.types.unit.void-until [installation] ... ok
[ #3] spicy.types.vector.infinite-loop-for-each [installation] ... ok
[ #1] spicy.types.vector.offset [installation] ... ok
[ #4] spicy.types.vector.infinite-loop-lahead [installation] ... failed
  % 'btest-diff output' failed unexpectedly (exit code 1)
  % cat .diag
  == File ===============================
  lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
  lto-wrapper: note: see the '-flto' option documentation for more information
  [error] terminating with uncaught exception of type spicy::rt::ParseError: loop body did not change input position, possible infinite loop (/tmp/cirrus-ci-build/tests/.tmp/spicy.types.vector.infinite-loop-lahead/infinite-loop-lahead.spicy:14:5)
  == Diff ===============================
  --- /dev/fd/63	2023-12-22 10:36:20.986526493 +0000
  +++ /dev/fd/62	2023-12-22 10:36:20.986526493 +0000
  @@ -1 +1,3 @@
  +lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
  +lto-wrapper: note: see the '-flto' option documentation for more information
   [error] terminating with uncaught exception of type spicy::rt::ParseError: loop body did not change input position, possible infinite loop (<...>/infinite-loop-lahead.spicy:14:5)
  =======================================

  % cat .stderr

[ #5] spicy.types.vector.parse-const [installation] ... ok
[#13] spicy.types.vector.parse-ctor [installation] ... ok
[#15] spicy.types.vector.parse-enum [installation] ... ok
[#12] spicy.types.vector.parse-lahead-eod [installation] ... ok
[ #7] spicy.types.vector.parse-eod [installation] ... ok
[ #7] spicy.types.vector.parse-subitem-attrs-fail [installation] ... ok
[ #9] spicy.types.vector.parse-lahead-ctor [installation] ... ok
[#10] spicy.types.vector.parse-lahead-int [installation] ... ok
[#14] spicy.types.vector.parse-lahead-parse-from [installation] ... ok
[#11] spicy.types.vector.parse-lahead-int-longest-match [installation] ... ok
[ #2] spicy.types.vector.parse-lahead-int-regexp [installation] ... ok
[ #8] spicy.types.vector.parse-lahead-int-variable [installation] ... ok
[#16] spicy.types.vector.parse-lahead-mixed [installation] ... ok
[ #3] spicy.types.vector.parse-lahead-regexp [installation] ... ok
[ #4] spicy.types.vector.parse-regexp [installation] ... ok
[ #1] spicy.types.vector.parse-length [installation] ... ok
[ #5] spicy.types.vector.parse-size [installation] ... ok
[#12] spicy.types.vector.parse-subitem-attrs [installation] ... ok
[#13] spicy.types.vector.parse-size-stop [installation] ... ok
[ #6] spicy.types.vector.parse-lahead-int-regexp-longest-match [installation] ... ok
[ #7] spicy.types.vector.parse-type [installation] ... ok
[#15] spicy.types.vector.parse-subitem [installation] ... ok
[ #9] spicy.types.vector.parse-unbounded-stop [installation] ... ok
[#16] spicy.types.vector.until-including-dd [installation] ... ok
[#10] spicy.types.vector.parse-until [installation] ... ok
[#14] spicy.types.vector.parse-until-including [installation] ... ok
[#11] spicy.types.vector.parse-while [installation] ... ok
[ #2] spicy.types.vector.size-from-self [installation] ... ok
[ #8] spicy.types.vector.synchronize [installation] ... ok
22 of 659 tests failed, 7 skipped
make: *** [Makefile:14: test-spicy-install] Error 1
make: Leaving directory '/tmp/cirrus-ci-build/tests'

Exit status: 2