deesix

deesix pushed to TMP at deesix/M2libc

  • 4946c45165 Copyright lines, missing at migration Code comes from M2-Planet aarch64 files. See fa524bdce352411ffe90d5d7b20c46386d20d2ae there.
  • 259f067f55 Change knight-native heap to be an offset from the start of stack rather than a fixed address
  • cb870984ba Backported 64bit sign extension from M2-Planet
  • 5c6fee4c8e Add minimal bootstrap libc for knight-native
  • be0677bd65 Add minimal bootstrap libc for knight-posix

3 years ago

deesix created new branch TMP at deesix/M2libc

3 years ago

deesix created repository deesix/M2libc

3 years ago

deesix pushed to TMP at deesix/M2-Planet

  • 17c4c6b977 @@@ tests: -e (errexit) shell option in scripts, where possible Some test scripts run programs that return non-zero values for correct outcome; those would fail the shell -e checks. But some scripts not using -e are fine with it because we expect zero or the error condition is handled otherwise. So, for robustness, the option is added into them.
  • cb27e5314a @@@ remove scripts
  • dd67ccddce @@@ ARCH_IS_64_BITS In three scripts, we need to adjust the expected value check depending on the word size of the arch. We do it based on a this new var.
  • 3400296b9b @@@ BLOOD_ELF_WORD_SIZE_FLAG
  • 05d962fcfc @@@ unify 64 bits archs (run_test.sh)
  • View comparison for these 11 commits »

3 years ago

deesix pushed to TMP at deesix/M2-Planet

3 years ago

deesix pushed to TMP at deesix/M2-Planet

  • bb2462d3b5 tests: use new-style mescc-tools flags This completes the transition started in Knight scripts during their M2libc migration at f2094a9e5bc9865e3f094aa2f53976ea5a61be9b from : to --BaseAddress : --base-address --BigEndian : --big-endian --LittleEndian : --little-endian The plan for mescc-tools is to deprecate the old (pre-1.0.0) flags. Note that test0101 compiles "hex2 0.3" and verifies that it works by linking an example. This 0.3 version requires the old-style flags, so the call to test/results/test0101-x86-binary is left unchanged.
  • 548993a884 tests: use new-style mescc-tools flags This completes the transition started in Knight scripts during their M2libc migration at f2094a9e5bc9865e3f094aa2f53976ea5a61be9b from : to --BaseAddress : --base-address --BigEndian : --big-endian --LittleEndian : --little-endian The plan for mescc-tools is to deprecate the old (pre-1.0.0) flags. Note that test0101 compiles "hex2 0.3" and verifies that it works by linking an example. This 0.3 version requires the old-style flags, so the calls to test/results/test0101-*-binary are left unchanged.
  • 86a3b1c956 tests: no --exec_enable in hex2 calls because it's "Effectively a NOP" hex2 in mescc-tools defaults to executable files since 1.0.0. See 0a553f720d39dae4231611671e4163a2d2422e0a there. This completes the removal started in Knight scripts during their M2libc migration at f2094a9e5bc9865e3f094aa2f53976ea5a61be9b
  • ae897dcfdb tests: no --exec_enable in hex2 calls because it's "Effectively a NOP" hex2 in mescc-tools defaults to executable output file since 1.0.0. See 0a553f720d39dae4231611671e4163a2d2422e0a there. This completes the removal started in Knight scripts during their M2libc migration at f2094a9e5bc9865e3f094aa2f53976ea5a61be9b Note that test0101 compiles "hex2 0.3" and verifies that it works by linking an example. Calls to test/results/test0101-*-binary never used the flag because we don't call the linked example (we just check its SHA-256).
  • View comparison for these 4 commits »

3 years ago

deesix pushed to TMP at deesix/M2-Planet

  • 6d789a58a8 tests: use new-style mescc-tools flags This completes the transition started in Knight scripts during their M2libc migration at f2094a9e5bc9865e3f094aa2f53976ea5a61be9b from : to --BaseAddress : --base-address --BigEndian : --big-endian --LittleEndian : --little-endian The plan for mescc-tools is to deprecate the old (pre-1.0.0) flags. Note that test0101 compiles "hex2 0.3" and verifies that it works by linking an example. This 0.3 version requires the old-style flags, so the call to test/results/test0101-x86-binary is left unchanged.
  • bb2462d3b5 tests: use new-style mescc-tools flags This completes the transition started in Knight scripts during their M2libc migration at f2094a9e5bc9865e3f094aa2f53976ea5a61be9b from : to --BaseAddress : --base-address --BigEndian : --big-endian --LittleEndian : --little-endian The plan for mescc-tools is to deprecate the old (pre-1.0.0) flags. Note that test0101 compiles "hex2 0.3" and verifies that it works by linking an example. This 0.3 version requires the old-style flags, so the call to test/results/test0101-x86-binary is left unchanged.
  • 7c0ca2f6c8 tests: no --exec_enable in hex2 calls because it's "Effectively a NOP" hex2 in mescc-tools defaults to executable files since 1.0.0. See 0a553f720d39dae4231611671e4163a2d2422e0a there.
  • 86a3b1c956 tests: no --exec_enable in hex2 calls because it's "Effectively a NOP" hex2 in mescc-tools defaults to executable files since 1.0.0. See 0a553f720d39dae4231611671e4163a2d2422e0a there. This completes the removal started in Knight scripts during their M2libc migration at f2094a9e5bc9865e3f094aa2f53976ea5a61be9b
  • View comparison for these 4 commits »

3 years ago

deesix pushed to TMP at deesix/M2-Planet

  • 6d789a58a8 tests: use new-style mescc-tools flags This completes the transition started in Knight scripts during their M2libc migration at f2094a9e5bc9865e3f094aa2f53976ea5a61be9b from : to --BaseAddress : --base-address --BigEndian : --big-endian --LittleEndian : --little-endian The plan for mescc-tools is to deprecate the old (pre-1.0.0) flags. Note that test0101 compiles "hex2 0.3" and verifies that it works by linking an example. This 0.3 version requires the old-style flags, so the call to test/results/test0101-x86-binary is left unchanged.
  • 7c0ca2f6c8 tests: no --exec_enable in hex2 calls because it's "Effectively a NOP" hex2 in mescc-tools defaults to executable files since 1.0.0. See 0a553f720d39dae4231611671e4163a2d2422e0a there.
  • 52b638f48f tests: prettier scripts One line per flag for multi-line "Verify that the resulting file works" calls; for coherency with 3aa8327334070ba37f1d4380e7bac5fbbec966b0
  • f2094a9e5b Migrate knight-posix to M2libc
  • 3c6b23f734 Update M2libc to remove duplicate opens

3 years ago

deesix created new branch TMP at deesix/M2-Planet

3 years ago

deesix deleted branch NOT-FOR-MERGE-WIP-parallel_testing at deesix/M2-Planet

3 years ago

deesix deleted branch TMP at deesix/M2-Planet

3 years ago

deesix pushed to TMP at deesix/M2-Planet

3 years ago

deesix pushed to TMP at deesix/M2-Planet

  • 009ec24d3b @@@ NOT_FOR_MERGE M2libc switch armv7l, amd64 & x86 < test1000

3 years ago

deesix pushed to TMP at deesix/M2-Planet

  • cc699b2883 tests: get proof from test0025 stderr (and other minor fixes) We were checking an empty proof because the test writes to stderr and we were redirecting stdout to the file. With the correct redirection the hash is different, so proof.anwers is also adjusted. The x86 test was calling blood-elf with the 64bits flag. Removed to ask for 32bits behaviour. For consistency, --BaseAddress is now using the usual value for the arch. Also, unused input file is removed here.
  • 55db771e29 tests: get proof from test0025 stderr (and other minor fixes) We were checking an empty proof because the test writes to stderr and we were redirecting stdout to the file. With the correct redirection the hash is different, so proof.answer is also adjusted. The x86 test was calling blood-elf with the 64bits flag. Removed to ask for 32bits behaviour. For consistency, --BaseAddress is now using the usual value for the arch. Also, unused input file is removed here.
  • View comparison for these 2 commits »

3 years ago

deesix pushed to TMP at deesix/M2-Planet

  • cc699b2883 tests: get proof from test0025 stderr (and other minor fixes) We were checking an empty proof because the test writes to stderr and we were redirecting stdout to the file. With the correct redirection the hash is different, so proof.anwers is also adjusted. The x86 test was calling blood-elf with the 64bits flag. Removed to ask for 32bits behaviour. For consistency, --BaseAddress is now using the usual value for the arch. Also, unused input file is removed here.
  • e9553d5f13 M2libc with standard architecture naming Every AArch64 test script is affected because AArch64 -> aarch64. test0101 needs i386 -> x86 because it verifies the resulting AArch64 binary (hex2) creating some x86 proof. Also, a couple of x86 tests (test0000 and test0025) that are M2libc aware, again because i386 -> x86 (hex2 ELF parts).
  • bcd0f49859 Use M2libc in all AArch64 tests < test1000 Finally test0021, now that M2libc has getcwd. See b83086642edc4ce8ce536bd1f1c996ddcadb7b00
  • 204d2612d7 whitespace
  • f5f996626a tests: --output-sync for readability

3 years ago

deesix created new branch TMP at deesix/M2-Planet

3 years ago

deesix deleted branch TMP at deesix/M2-Planet

3 years ago

deesix pushed to TMP at deesix/M2-Planet

  • e9553d5f13 M2libc with standard architecture naming Every AArch64 test script is affected because AArch64 -> aarch64. test0101 needs i386 -> x86 because it verifies the resulting AArch64 binary (hex2) creating some x86 proof. Also, a couple of x86 tests (test0000 and test0025) that are M2libc aware, again because i386 -> x86 (hex2 ELF parts).
  • bcd0f49859 Use M2libc in all AArch64 tests < test1000 Finally test0021, now that M2libc has getcwd. See b83086642edc4ce8ce536bd1f1c996ddcadb7b00
  • 204d2612d7 whitespace
  • f5f996626a tests: --output-sync for readability
  • d34bb92b0d tests: workaround parallel clean/test make error Something weird happens if one tries to clean and test at the same time with a command like: make clean test -j2 See https://lists.gnu.org/archive/html/help-make/2021-01/msg00000.html To be safe until further investigation, we breakup the makefile into 2 files and serialize the first where M2-Planet is built.

3 years ago

deesix created new branch TMP at deesix/M2-Planet

3 years ago

deesix deleted branch TMP at deesix/M2-Planet

3 years ago