Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > muc.lists.freebsd.emulation > #12492 > unrolled thread

[Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT

Started bybugzilla-noreply@freebsd.org
First post2025-05-17 14:17 +0000
Last post2026-11-11 03:16 +0000
Articles 20 on this page of 78 — 1 participant

Back to article view | Back to muc.lists.freebsd.emulation


Contents

  [Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2025-05-17 14:17 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2025-05-17 14:37 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2025-05-17 14:40 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2025-05-17 14:51 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2025-05-20 11:28 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2026-02-19 18:06 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2026-02-20 06:51 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2026-02-21 03:46 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2026-02-21 03:54 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2026-02-21 03:55 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2026-02-21 04:15 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2026-02-23 17:23 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 10.2.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-03-08 07:19 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 10.2.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-03-08 07:20 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 10.2.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-16 19:37 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 10.2.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-21 02:00 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-21 02:00 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-25 00:40 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-25 00:41 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-25 00:48 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-25 00:49 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-25 02:46 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-25 02:51 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-25 04:38 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-25 04:40 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-25 07:13 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-26 16:27 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-26 16:42 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-26 23:14 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-06-03 11:15 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-06-03 11:16 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-06-21 00:38 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-06-21 00:40 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-06-21 00:44 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-06-21 00:51 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-06-21 00:58 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-06-22 02:55 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-06-22 03:01 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-06-23 17:12 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-14 02:23 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-14 07:55 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-14 09:28 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-14 09:41 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-14 09:48 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-14 09:52 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-14 14:40 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-14 17:33 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-14 17:33 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-14 17:34 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-14 17:35 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-14 17:43 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-15 07:20 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-15 17:03 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-15 23:16 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-16 04:19 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-16 05:11 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-16 15:43 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-16 16:01 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-16 16:07 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-17 00:50 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-17 00:51 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-17 01:04 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-17 01:04 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-17 02:08 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-17 02:27 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-17 02:33 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-17 02:48 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-17 02:53 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-17 02:55 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-17 03:03 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-09-17 08:54 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-11-01 00:14 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-11-01 02:01 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-11-01 02:04 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-11-11 02:32 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-11-11 02:56 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-11-11 02:58 +0000
    [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-11-11 03:16 +0000

Page 3 of 4 — ← Prev page 1 2 [3] 4  Next page →


#13176 — [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+

Frombugzilla-noreply@freebsd.org
Date2026-09-14 07:55 +0000
Subject[Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+
Message-ID<bug-286875-4077-Mq9QKlneTG@https.bugs.freebsd.org/bugzilla/>
In reply to#12492
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286875

--- Comment #38 from Rick Richard <rick@sloservers.com> ---
Testing blitz HEAD (e725658f, VERSION 11.0.50) on FreeBSD 15.1-RELEASE-p2 amd64
with an armv7 guest jail, per comment #10.

blitz HEAD builds, but does not execute guest binaries on 15.1. Six defects,
all
in bsd-user, none of them port-side. The pull request below carries two further
fixes found afterwards: a lost thread wakeup, which armv7 does not reach, and
accept4(2) dropping its flags, which it does:

    https://github.com/qemu-bsd-user/qemu-bsd-user/pull/68

1. target_mmap() checks MAP_EXCL against the guest address space with
   page_check_range_empty() and then forwards the flag to the host mmap. When
   reserved_va is set, qemu has already mapped the guest range as a PROT_NONE
   reservation, so MAP_FIXED|MAP_EXCL returns ENOMEM for every PT_LOAD segment
   the ELF loader places inside it. No guest binary reaches its entry point.

2. cap_rights_limit(2), cap_ioctls_limit(2), cap_fcntls_limit(2) and
   cap_enter(2) return ENOSYS, and the cpu loop raises SIGSYS for any syscall
   that returns ENOSYS. /bin/echo calls cap_rights_limit(2) during startup and
   exits on SIGSYS.

3. TARGET_BIG_ENDIAN is written into the per-target config header as a value:

       arm-bsd-user-config-target.h:  #define TARGET_BIG_ENDIAN 0
       ppc-bsd-user-config-target.h:  #define TARGET_BIG_ENDIAN 1

   Four sites in bsd-user still test it with #ifdef, which matches on every
   target, so little-endian targets compile the big-endian branch. In
   do_bsd_lseek() the two halves of the 64-bit off_t return are swapped:
   lseek(fd, 0, SEEK_END) on a 154556-byte file returns 154556 << 32.
   pkg-static reports "Seek error" and cannot extract packages. This is
   issue #28, which also notes the ppc site.

4. loader_exec() resolves the program with realpath() into a stack array and
   stores that pointer in bprm->fullpath, which outlives the call. The guest
   reads it back through KERN_PROC_PATHNAME and gets an empty string. perl
   derives $^X from that sysctl, so lang/perl5 fails in mkppport, which invokes
   $^X and reaches the emulator binary instead of miniperl.
devel/p5-Locale-gettext
   and devel/p5-Locale-libintl, the ports in issues #24 and #29, build with
this
   applied.

5. posix_fadvise(2) is unimplemented, reaches the default case, and returns
   ENOSYS, which becomes SIGSYS. xz(1) calls it, and devel/gettext-tools dies
   in its autotools directory.

6. qemu_thread_create() leaves SIGSEGV, SIGFPE and SIGILL unblocked in helper
   threads, since blocking a synchronous fault is undefined. A process-directed
   signal can therefore arrive on a thread that runs no guest code, where
   thread_cpu is NULL, and host_signal_handler() dereferenced it. A guest that
   blocks SIGFPE and calls kill(getpid(), SIGFPE) crashes qemu. This is
   issue #34.

Results for the libthr regressions tracked in issues #30 to #37. Three columns,
so that upstream's work and these patches are not conflated:

  - 6.2.50: the version the port currently builds, with the #37 batching fix
    from ab12ac38ef backported so the comparison is not against a known-broken
    umtx path
  - blitz: blitz HEAD with only the two patches needed to execute a guest at
    all (items 1 and 2 above)
  - blitz+8: blitz HEAD with the full series

                                          6.2.50   blitz    blitz+8
    #37  umtx_op_test:batching            pass     pass     pass
    #36  timedmutex_test:mutex3           fail     pass     pass
    #35  timedmutex_test:mutex2           pass     pass     pass
    #34  sigmask_test:upcalls_not_started fail     fail     pass
    #33  sem_test:before_start_one_thread timeout  pass     pass
    #32  sem_test:before_start_no_threads timeout  pass     pass
    #31  mutex_test:mutex2                timeout  pass     pass
    #30  cond_test:cond_timedwait_race    fail     pass     pass

Six of these are already fixed on blitz and owe nothing to the patches above;
the middle column is there to make that clear. Only #34 needed a new fix, item
6. The first column is the argument for moving the port off 6.2.50.

Regarding comment #28 and the reliable hang creating the pkg package: item 3
looks like the cause. pkg-static uses lseek heavily and was receiving offsets
with the halves transposed. That is a hypothesis rather than a confirmed
diagnosis, since I did not reproduce the hang before fixing the endianness
test,
but pkg-static has been exercised heavily since and has not hung.

With the first six applied, poudriere cross-built 80 armv7 packages: 80 built,
0
failed, 0 skipped, in 1h40m. A 14-port request expanded to that closure,
covering perl5, python312, ruby34, git, openssl, sqlite3, curl, cmake, nginx,
bash, libarchive, texinfo and the autotools. Every package went through
pkg-static create, and the run also exercises pkg-static add.

Host: FreeBSD 15.1-RELEASE-p2 amd64, 8 cores. Guest jail: 15.1-STABLE 1501502,
arm.armv7, built with poudriere jail -m git+https. Ports tree 8fd09ff988d2.

I am not proposing a port patch; the work in this bug covers what I ran into.
One port-side item in case it is not already handled: qemu 11 emits the target
binaries directly into ${BUILD_WRKSRC} with no per-target *-bsd-user
subdirectories, so an ELF_FEATURES setting of the form
"+wxneeded:*-bsd-user/qemu-*" matches nothing and elfctl fails the build.
Deriving the list from QEMU_TARGETS works:

    ELF_FEATURES=       ${QEMU_TARGETS:@t@+wxneeded:qemu-${t:S/-bsd-user//}@}

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

[toc] | [prev] | [next] | [standalone]


#13177 — [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+

Frombugzilla-noreply@freebsd.org
Date2026-09-14 09:28 +0000
Subject[Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+
Message-ID<bug-286875-4077-HPwDGDxrwa@https.bugs.freebsd.org/bugzilla/>
In reply to#12492
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286875

--- Comment #39 from Alastair Hogge <agh@riseup.net> ---
(In reply to Rick Richard from comment #38)

Thanks Rick.

Adding your pull request to the last patch applies and builds without problems,
and passes poudriere-testport. I am waiting for an aarch64 jail via poudriere
-x to finish building, and will test some port building then.

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

[toc] | [prev] | [next] | [standalone]


#13178 — [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+

Frombugzilla-noreply@freebsd.org
Date2026-09-14 09:41 +0000
Subject[Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+
Message-ID<bug-286875-4077-tGvfdTNtx1@https.bugs.freebsd.org/bugzilla/>
In reply to#12492
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286875

--- Comment #40 from Alastair Hogge <agh@riseup.net> ---
Unfortunately, I still get the same failure:
> =======================<phase: package        >============================
> ===== env: 'PKG_NOTES=port_checkout_unclean' 'PKG_NOTE_port_checkout_unclean=no' NO_DEPENDS=yes USER=pkgbuild UID=65532 GID=65532
> ===>  Building packages for pkg-2.8.4
> ===>   Building pkg-2.8.4
> Fatal error 'Cannot allocate red zone for initial thread' at line 398 in file /usr/src/lib/libthr/thread/thr_init.c (errno = 1073737728)
> Abort trap
> *** Error code 1
> 
> Stop.
> make[1]: stopped making "package-message do-package" in /usr/ports/ports-mgmt/pkg
> *** Error code 1

Jail was created:
> $ doas poudriere jail -c -j 15_1-aarch64-release -m http -v15.1-RELEASE -a arm64.aarch64 -x

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

[toc] | [prev] | [next] | [standalone]


#13179 — [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+

Frombugzilla-noreply@freebsd.org
Date2026-09-14 09:48 +0000
Subject[Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+
Message-ID<bug-286875-4077-fiWf4WxNz6@https.bugs.freebsd.org/bugzilla/>
In reply to#12492
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286875

Alastair Hogge <agh@riseup.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #271102|0                           |1
        is obsolete|                            |

--- Comment #41 from Alastair Hogge <agh@riseup.net> ---
Created attachment 274728
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=274728&action=edit
[PATCH] emulators/qemu-user-static-devel: Update

Added Rick's upstream pull request and elfctl suggestions.

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

[toc] | [prev] | [next] | [standalone]


#13180 — [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+

Frombugzilla-noreply@freebsd.org
Date2026-09-14 09:52 +0000
Subject[Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+
Message-ID<bug-286875-4077-CuoI2lI6Yu@https.bugs.freebsd.org/bugzilla/>
In reply to#12492
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286875

Alastair Hogge <agh@riseup.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #274728|0                           |1
        is obsolete|                            |

--- Comment #42 from Alastair Hogge <agh@riseup.net> ---
Created attachment 274729
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=274729&action=edit
[PATCH] emulators/qemu-user-static-devel: Update

Actual updated diff this time.

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

[toc] | [prev] | [next] | [standalone]


#13183 — [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+

Frombugzilla-noreply@freebsd.org
Date2026-09-14 14:40 +0000
Subject[Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+
Message-ID<bug-286875-4077-0CCJtMz68D@https.bugs.freebsd.org/bugzilla/>
In reply to#12492
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286875

--- Comment #43 from Rick Richard <rick@sloservers.com> ---
The aarch64 failure in comment #40 is not caused by the pull request. blitz
reproduces it with only the two patches needed to execute a guest at all, and
it is the same failure Alexey reported in comment #32.

Two bugs, both now fixed in the pull request:

1. mmap_find_vma() converts the host address it receives with h2g(), which
   subtracts guest_base. The kernel may return an address below guest_base,
   and the subtraction wraps. h2g_valid() does not catch it: without
   reserved_va, guest_addr_max is ~0ul, so the comparison is always true. The
   wrapped value becomes the initial stack address, and libthr derives its red
   zone from _usrstack, so every threaded program dies at startup.

   riscv64 does not hit this because guest_base is 0 and the subtraction
   cannot wrap. armv7 does not because reserved_va gives guest_addr_max a real
   bound.

2. setup_arg_pages() places the stack with mmap() and keeps whatever address
   it gets back, but the KERN_USRSTACK sysctl answered with TARGET_USRSTACK,
   the address it had asked for. On aarch64 the two differ by orders of
   magnitude: 0x7fffdf000000 reported against a stack at 0x80b30bafc. Boehm GC
   scans conservatively from that base and faults, which is why www/w3m dies
   building its mktable helper.

The first needs no poudriere to reproduce. Any threaded program will do:

    #include <pthread.h>

    static void *
    w(void *a)
    {
            return (a);
    }

    int
    main(void)
    {
            pthread_t t;

            if (pthread_create(&t, NULL, w, NULL) != 0)
                    return (2);
            return (pthread_join(t, NULL));
    }

On blitz with only the two execute-a-guest patches:

    Fatal error 'Cannot allocate red zone for initial thread' at line 398 in
    file /usr/src/lib/libthr/thread/thr_init.c (errno = 1073737728)

With the pull request it exits 0.

Checked on a 15.1-RELEASE aarch64 jail created as in comment #40, with
poudriere jail -c -m http -v 15.1-RELEASE -a arm64.aarch64 -x: ports-mgmt/pkg
builds, and a 13-port request expanding to 91 packages builds in full, www/w3m
included. w3m needed the second fix; the rest needed only the first.

    https://github.com/qemu-bsd-user/qemu-bsd-user/pull/68

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

[toc] | [prev] | [next] | [standalone]


#13184 — [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+

Frombugzilla-noreply@freebsd.org
Date2026-09-14 17:33 +0000
Subject[Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+
Message-ID<bug-286875-4077-ElxaiQc9cZ@https.bugs.freebsd.org/bugzilla/>
In reply to#12492
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286875

Alexey Shuvaev <bugsbeastie@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #271990|0                           |1
        is obsolete|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

[toc] | [prev] | [next] | [standalone]


#13185 — [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+

Frombugzilla-noreply@freebsd.org
Date2026-09-14 17:33 +0000
Subject[Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+
Message-ID<bug-286875-4077-b4PN0pYyOb@https.bugs.freebsd.org/bugzilla/>
In reply to#12492
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286875

Alexey Shuvaev <bugsbeastie@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #271991|0                           |1
        is obsolete|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

[toc] | [prev] | [next] | [standalone]


#13186 — [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+

Frombugzilla-noreply@freebsd.org
Date2026-09-14 17:34 +0000
Subject[Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+
Message-ID<bug-286875-4077-nBbstzryFI@https.bugs.freebsd.org/bugzilla/>
In reply to#12492
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286875

Alexey Shuvaev <bugsbeastie@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #271992|0                           |1
        is obsolete|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

[toc] | [prev] | [next] | [standalone]


#13187 — [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+

Frombugzilla-noreply@freebsd.org
Date2026-09-14 17:35 +0000
Subject[Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+
Message-ID<bug-286875-4077-zdil7Xcq0W@https.bugs.freebsd.org/bugzilla/>
In reply to#12492
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286875

Alexey Shuvaev <bugsbeastie@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #272029|0                           |1
        is obsolete|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

[toc] | [prev] | [next] | [standalone]


#13188 — [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+

Frombugzilla-noreply@freebsd.org
Date2026-09-14 17:43 +0000
Subject[Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+
Message-ID<bug-286875-4077-tQnZqI02jo@https.bugs.freebsd.org/bugzilla/>
In reply to#12492
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286875

--- Comment #44 from Alexey Shuvaev <bugsbeastie@gmail.com> ---
Wow, a lot of action here, good!
Thank you all for taking care of both blitz branch and the port itself!
I have marked most of my patches as obsolete to not distract the attention!

However, can anybody confirm/fix the port build failure due to inotify present
only as an external library on 14-STABLE as reported in comment #36?
(After updating the distinfo to match the grown patch from pull request 68 ;)

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

[toc] | [prev] | [next] | [standalone]


#13192 — [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+

Frombugzilla-noreply@freebsd.org
Date2026-09-15 07:20 +0000
Subject[Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+
Message-ID<bug-286875-4077-EqsbO5cr2A@https.bugs.freebsd.org/bugzilla/>
In reply to#12492
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286875

--- Comment #45 from Alastair Hogge <agh@riseup.net> ---
(In reply to Alexey Shuvaev from comment #44)

I am able to build the Port without issue in a 14-STABLE poudriere jail on a
16-CURRENT host.

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

[toc] | [prev] | [next] | [standalone]


#13196 — [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+

Frombugzilla-noreply@freebsd.org
Date2026-09-15 17:03 +0000
Subject[Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+
Message-ID<bug-286875-4077-KA0c9gXRnl@https.bugs.freebsd.org/bugzilla/>
In reply to#12492
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286875

--- Comment #46 from Alexey Shuvaev <bugsbeastie@gmail.com> ---
(In reply to Alastair Hogge from comment #45)
Okkkay...
The inotify* functions were MFC-ed into 14-STABLE on 2026-08-05:
https://cgit.freebsd.org/src/commit/lib/libc/gen/inotify.c?h=stable/14&id=e61884183ed4bbe84dfcc242fecd2bffb943af96

Therefore, they are present in 14-STABLE and 14.5-RELEASE, but not in
14.4-RELEASE, which will be EOL-ed only after December 31, 2026...

I agree with you that the port with your patch should work on 14-STABLE (will
double-check later), and I even support the idea of committing it into the
ports tree 'as-is', but...
the bunch of usefull improvements were generated by LLM, and the pull request
68 was closed by Rick (reporter)... It was too good to be true!

Now those of you with commit bits have to decide what to do ;)

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

[toc] | [prev] | [next] | [standalone]


#13199 — [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+

Frombugzilla-noreply@freebsd.org
Date2026-09-15 23:16 +0000
Subject[Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+
Message-ID<bug-286875-4077-vfRmW8EiN0@https.bugs.freebsd.org/bugzilla/>
In reply to#12492
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286875

--- Comment #47 from Alastair Hogge <agh@riseup.net> ---
The updated upstream PR (the closed one), also fixes and restores
qqemu-user-static-devel for on 16-CURRENT. A from scratch build of GCC-12 no
15.1 aarch16 ran for 13+ hours.

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

[toc] | [prev] | [next] | [standalone]


#13200 — [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+

Frombugzilla-noreply@freebsd.org
Date2026-09-16 04:19 +0000
Subject[Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+
Message-ID<bug-286875-4077-u0K6hguDez@https.bugs.freebsd.org/bugzilla/>
In reply to#12492
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286875

--- Comment #48 from Rick Richard <rick@sloservers.com> ---
I'm not sure if I've offended anybody or made a big faux pas here, but if so I
hope I can smooth things over and do a better job in round 2.  I'm willing to
re-author these fixes in my own hand, not just a copy/paste, but that will
obviously take more time and I have an upcoming trip next week, so maybe in a
couple weeks?  Some guidance would be appreciated if anyone can help.

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

[toc] | [prev] | [next] | [standalone]


#13201 — [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+

Frombugzilla-noreply@freebsd.org
Date2026-09-16 05:11 +0000
Subject[Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+
Message-ID<bug-286875-4077-sn6gqIz7sV@https.bugs.freebsd.org/bugzilla/>
In reply to#12492
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286875

--- Comment #49 from Alastair Hogge <agh@riseup.net> ---
(In reply to Rick Richard from comment #48)
I am not offended. Enjoy your trip.

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

[toc] | [prev] | [next] | [standalone]


#13209 — [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+

Frombugzilla-noreply@freebsd.org
Date2026-09-16 15:43 +0000
Subject[Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+
Message-ID<bug-286875-4077-iF1Et1eUST@https.bugs.freebsd.org/bugzilla/>
In reply to#12492
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286875

--- Comment #50 from Alexey Shuvaev <bugsbeastie@gmail.com> ---
(In reply to Alastair Hogge from comment #49)
> I am not offended. Enjoy your trip.
+1

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

[toc] | [prev] | [next] | [standalone]


#13210 — [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+

Frombugzilla-noreply@freebsd.org
Date2026-09-16 16:01 +0000
Subject[Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+
Message-ID<bug-286875-4077-qTTXmqc0fG@https.bugs.freebsd.org/bugzilla/>
In reply to#12492
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286875

Fernando ApesteguĂ­a <fernape@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fernape@FreeBSD.org
             Status|New                         |Open

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

[toc] | [prev] | [next] | [standalone]


#13211 — [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+

Frombugzilla-noreply@freebsd.org
Date2026-09-16 16:07 +0000
Subject[Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+
Message-ID<bug-286875-4077-QNtcbDtrW5@https.bugs.freebsd.org/bugzilla/>
In reply to#12492
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286875

--- Comment #51 from Warner Losh <imp@FreeBSD.org> ---
(In reply to Alastair Hogge from comment #47)
So can you do a poudriere bulk with your patches?

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

[toc] | [prev] | [next] | [standalone]


#13212 — [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+

Frombugzilla-noreply@freebsd.org
Date2026-09-17 00:50 +0000
Subject[Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+
Message-ID<bug-286875-4077-xeEvU2AKP4@https.bugs.freebsd.org/bugzilla/>
In reply to#12492
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286875

Alastair Hogge <agh@riseup.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #274729|0                           |1
        is obsolete|                            |

--- Comment #52 from Alastair Hogge <agh@riseup.net> ---
Created attachment 274830
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=274830&action=edit
emulators/qemu-user-static-devel: Update

Regen diff for updated upstream pull request.

poudriere-testport emulators/qemu-user-static-devel:
15_1-amd64-release: Pass
main-amd64-default: Pass

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

[toc] | [prev] | [next] | [standalone]


Page 3 of 4 — ← Prev page 1 2 [3] 4  Next page →

Back to top | Article view | muc.lists.freebsd.emulation


csiph-web