- User Since
- Nov 19 2016, 6:23 AM (148 w, 13 h)
Jul 10 2019
FYI: The addition to CFLAGS.powerpc did not add -msecure-plt to the cc for linking libc.so.7.full :
Using -msecure-plt did no good with system-clang. Despite the -msecure-plt as shown below:
Jul 9 2019
FYI: I was using devel/powerpc64-binutils with system clang (8.0.0 or now 8.0.1), not gcc.
Changes to gcc will not change the behavior for what I was doing.
Justin wrote "Secure-PLT is fully compatible with BSS-PLT, so there's no issue with compatibility".
Apr 25 2019
In order to keep the thread order stable for process-birth-time,
I ended up also using:
Mar 24 2019
I frequently cross-build amd64->aarch64 and amd64->armv7 and also do
installworld's of the aarch64 and armv7 worlds into directories trees on the
amd64 machine ( same file system as the amd64 world is on, but in something
like, for example, /usr/obj/DESTDIRs/clang-cortexA53-installworld-poud ).
(Later such are used via qemu-user-static and poudriere-devel , for example.)
Mar 3 2019
FYI: In attempting a devel/powerpc64-xtoolchain-gcc based build of head -r334018
on a powerpc64 I just had to make these two changes in order to avoid the problem
reported here: otherwise unable to build llvm-tblgen .
Jan 25 2019
Jan 13 2019
What of using libexec/gdb ? WITH_GDB is still the default except on aarch64 and riscv64* . There are architectures for which modern gdb from ports fails ( by running into bugs in C++ thrown-exception support in the system libgc_s ): powerpc families. (I experiment with using more modern compilers. clang has issues of its own but devel/powerpc64-gcc for powerpc64 targeting is useful for buildworld buildkernel and more. I have a patched libgcc_s that I reported on the lists but most folks do not have.)
Jul 4 2017
This change addresses the direct, observed consequences for switching from
the first anonymous struct to the second one: it avoids interpreting old
"first struct" material as upcall information.
Jul 1 2017
Again for future reference for folks that might look at this:
In essence some notes from bugzilla 220404 for
future reference to folks that might look here.
Jun 28 2017
If this page or a variant is to be used for 11.1 then
pc98 should be covered rather than only being listed
for the initial/final releases. (I'm less sure for history
like alpha or ia64.)
Apr 28 2017
I should note that when devel/*-binutils went to
2.28 which failed I reverted to devel/*binutils
-r436731 (2.27) in order for things to work. I still
have that configuration and it was used in the
test builds that I did.
FYI: prior to this change a self-hosted/native build of
devel/aarch64-gcc or devel/powerpc64-gcc would
fail for not finding 6 files listed in pkg-plist .
devel/arm64-gcc did not list the 6 files there and so
did not install them but the self-hosted/native build
I built examples based on patching:
Mar 6 2017
-r314624 prevented a PowerMac G5 so-called "Quad Core" from competing
its boot (of -r314687): CAM status: Command timeout's. Reverting the two
files fixed it. See, e.g.,
Feb 17 2017
Note: The "truncated" sp/fp line for "panic() at . . ."
is from the serial console tending to drop text.
I got a panic that involved fork_trampoline in the back trace.
I've no clue if it is related.
Feb 15 2017
That last buildworld buildkernel completed just
fine (really only building the kernel since world
had completed before).
The core files did not suggest a stack corruption
to me, nor was fork active. My test code
recorded its before and after fork stack address
examples and they were equal as they should be.
Feb 14 2017
Drat: buildworld got a different failure in sh (see below).
Test status update at ~3 hours 40 minutes in:
One minor point: