After updating ports from -r480180 to -r484565 the rebuilt qemu-arm-static used to cross-build ports with poudriere now fails with the likes of the following assert (2 examples). Other ports have completed their package phase just fine so this does not always fail. But for cmake and gcc8 failure seems repeatable in my context.
I did not have this problem at all when based on -r480180 . =======================<phase: package >============================ ===> Building package for cmake-3.12.3 Assertion failed: (start < end), function page_set_flags, file /wrkdirs/usr/ports/emulators/qemu-user-static/work/qemu-bsd-user-2cb0cdd/accel/tcg/translate-all.c, line 2077. Child process pid=8254 terminated abnormally: Abort trap *** Error code 1 Stop. make: stopped in /usr/ports/devel/cmake =>> Cleaning up wrkdir ===> Cleaning for cmake-3.12.3 build of devel/cmake | cmake-3.12.3 ended at Sat Nov 10 00:32:06 PST 2018 build time: 00:22:40 and: =======================<phase: package >============================ ===> Building package for gcc8-8.2.0_1 Assertion failed: (start < end), function page_set_flags, file /wrkdirs/usr/ports/emulators/qemu-user-static/work/qemu-bsd-user-2cb0cdd/accel/tcg/translate-all.c, line 2077. Child process pid=3100 terminated abnormally: Abort trap *** Error code 1 Stop. make: stopped in /usr/ports/lang/gcc8 =>> Cleaning up wrkdir ===> Cleaning for gcc8-8.2.0_1 build of lang/gcc8 | gcc8-8.2.0_1 ended at Sat Nov 10 04:10:58 PST 2018 build time: 04:08:19 The code with the assert is: /* Modify the flags of a page and invalidate the code if necessary. The flag PAGE_WRITE_ORG is positioned automatically depending on PAGE_WRITE. The mmap_lock should already be held. */ void page_set_flags(target_ulong start, target_ulong end, int flags) { target_ulong addr, len; /* This function should never be called with addresses outside the guest address space. If this assert fires, it probably indicates a missing call to h2g_valid. */ #if TARGET_ABI_BITS > L1_MAP_ADDR_SPACE_BITS assert(end <= ((target_ulong)1 << L1_MAP_ADDR_SPACE_BITS)); #endif assert(start < end); assert_memory_lock(); . . . The failed assert looks a bit odd because for: start+TARGET_PAGE_SIZE < end len will wrap around in the following, making for a huge len: target_ulong addr, len; . . . for (addr = start, len = end - start; len != 0; len -= TARGET_PAGE_SIZE, addr += TARGET_PAGE_SIZE) { . . . (I ignore start+TARGET_PAGE_SIZE itself overflowing above.) Context based on: head -r484565 === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"