[Bug 206990] powerpc (32-bit), projects/clang380-import vs. 11.0-CURRENT's sendsig: need to avoid signal delivery trashing the stack and so causing SIGSEGV

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 7 19:15:38 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206990

--- Comment #4 from Mark Millard <markmi at dsl-only.net> ---
(In reply to Nathan Whitehorn from comment #2)

If I'm going to submit a defect to the llvm folks I'd like to be able to
accurately identify the proper ABI document and what section(s) of material
that the 3.8.0 generated code violates. Otherwise my report is just hear-say.

What is the official PowerpC (32-bit) ELF ABI document that FreeBSD is based on
and expects clang 3.8.0 to adhere to for the clang compiler options that
buildworld uses?

SunSoft's 1995-Sept "System V Application Binary Interface PowerPC Processor
Supplement"?

Something else? (Hopefully I can get a copy.)

I should be able to say something like. . .



Clang 3.8.0's "Target: powerpc-unknown-freebsd11.0" handling is supposed to be
based on ??? and so should handle the stack pointer per section(s) ??? in that
document. Instead it is generating code that looks like:

. . .

which would require a "red zone" like for 32-bit PowerPC Darwin's ABI or the
32-bit PowerPC AIX ABI.

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


More information about the freebsd-bugs mailing list