[Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7

2021-02-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253335 Kyle Evans changed: What|Removed |Added Resolution|--- |FIXED Status|In Progress

[Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7

2021-02-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253335 --- Comment #17 from commit-h...@freebsd.org --- A commit references this bug: Author: kevans Date: Fri Feb 26 04:54:03 UTC 2021 New revision: 566579 URL: https://svnweb.freebsd.org/changeset/ports/566579 Log: MFH: r566578

[Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7

2021-02-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253335 --- Comment #16 from commit-h...@freebsd.org --- A commit references this bug: Author: kevans Date: Fri Feb 26 04:53:22 UTC 2021 New revision: 566578 URL: https://svnweb.freebsd.org/changeset/ports/566578 Log:

[Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7

2021-02-09 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253335 Mark Johnston changed: What|Removed |Added Status|Open|In Progress --- Comment #15 from

[Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7

2021-02-09 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253335 --- Comment #14 from Renato Botelho --- (In reply to Mark Johnston from comment #10) I confirmed reverting this commit makes it to start working again -- You are receiving this mail because: You are on the CC list for the bug.

[Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7

2021-02-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253335 --- Comment #13 from Mark Johnston --- (In reply to Kyle Evans from comment #12) Yeah, I couldn't really understand the T_ALIGNFLT check. I can submit a patch tomorrow, but feel free to fix it if you prefer. I have another

[Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7

2021-02-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253335 --- Comment #12 from Kyle Evans --- (In reply to Kyle Evans from comment #11) (I suspect I was somehow looking at the wrong trap type values and steered the previous discussion amiss. :-() -- You are receiving this mail because: You are

[Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7

2021-02-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253335 --- Comment #11 from Kyle Evans --- (In reply to Mark Johnston from comment #10) Heh, I just arrived at the same conclusion, but hadn't yet found the logs where we were talking about this. IMO we should reapply the change, but correctly

[Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7

2021-02-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253335 Mark Johnston changed: What|Removed |Added CC||i...@freebsd.org --- Comment #10

[Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7

2021-02-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253335 --- Comment #9 from Mark Johnston --- qemu is doing the mprotect here: Thread 1 hit Catchpoint 1 (call to syscall mprotect), 0x6049f48a in ?? () (gdb)

[Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7

2021-02-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253335 --- Comment #8 from Mark Johnston --- Using truss on the host I can see that we are mprotecting the last page (containing the address in question) of that range to PROT_READ | PROT_EXEC. It doesn't show up in qemu's strace output, so

[Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7

2021-02-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253335 Mark Johnston changed: What|Removed |Added Status|New |Open

[Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7

2021-02-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253335 --- Comment #6 from Renato Botelho --- (In reply to Kyle Evans from comment #5) Luiz (loos@) also mentioned he built some aarch64 stuff on that box and he saw issues with lots of other binaries, it's not only PHP. We also see some

[Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7

2021-02-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253335 --- Comment #5 from Kyle Evans --- (In reply to Renato Botelho from comment #4) Given the timing, I'd suspect the recent elfload hacks that I did to try and fix kyua and direct-exec rtld. -- You are receiving this mail because: You are

[Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7

2021-02-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253335 --- Comment #4 from Renato Botelho --- FYI, Same problem doesn't happen on a system running 12.2-STABLE and qemu-user-static version 3.1.0_1. `FreeBSD buildbot1-nyi.netgate.com 12.2-STABLE FreeBSD 12.2-STABLE acaac0eefa1(stable/12)

[Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7

2021-02-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253335 --- Comment #3 from Kyle Evans --- (In reply to Mark Johnston from comment #2) Right, no live debugging, but the gdb stub worked the last time I tried it (maybe a year or two ago? before we rebased to 3.1). It's been helpful at times to

[Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7

2021-02-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253335 --- Comment #2 from Mark Johnston --- (In reply to Kyle Evans from comment #1) I have zero experience debugging qemu-user-static, so pointers would be appreciated. I'm waiting for gdb to cross-compile still. :) I take it I won't be able

[Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7

2021-02-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253335 --- Comment #1 from Kyle Evans --- Ah, I missed the part where you already engaged in debugging -- feel free to take this back. :-) -- You are receiving this mail because: You are on the CC list for the bug.

[Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7

2021-02-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253335 Kyle Evans changed: What|Removed |Added Assignee|ports-b...@freebsd.org |kev...@freebsd.org

[Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7

2021-02-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253335 Bug ID: 253335 Summary: emulators/qemu-user-static php segfault building devel/pear for armv7 Product: Ports & Packages Version: Latest Hardware: amd64