Re: Linux-abi group

2016-02-11 Thread Ed Maste
On 8 February 2016 at 18:08, Joseph Myers  wrote:
> On Mon, 8 Feb 2016, H.J. Lu wrote:
>
>> >> I was referring to program properties:
>> >>
>> >> https://groups.google.com/forum/#!topic/generic-abi/fyIXttIsYc8
>> >
>> > This looks more like an ELF topic to me, not really ABI.
>> >
>> > Please discuss this on a GNU project list because it affects the
>> > entire GNU project.
>> >
>>
>> gABI is ELF and affects all users, including GNU project, of gABI.
>> Linux-abi discusses Linux-specific extensions to gABI. It is for tools
>> like compilers, assembler, linker and run-time.  It isn't appropriate
>> for any GNU project list.

But the examples presented so far (STT_GNU_IFUNC, PT_GNU_RELRO etc.)
are relevant to GNU systems in general and are not Linux-specific.

> I find it extremely unlikely that many well-thought-out extensions would
> be appropriate for GNU systems using the Linux kernel but not for GNU
> systems using Hurd or other kernels - the only such cases would be for
> things very closely related to kernel functionality.  There is a strong
> presumption that toolchain configuration should apply to all GNU systems
> rather than being specific to GNU/Linux without good reason.

Agreed. As we've seen with the fallout from the abi_tag attribute we
need better communication between groups in the free software tool
chain world, not more fragmentation.


Re: address sanitizer gcc-6.4 failing on bsd10 (cross build)

2018-09-10 Thread Ed Maste
On 29 August 2018 at 09:11, Ken Faiczak  wrote:
> Building the same manner (tools etc) for RH7 and BSD10
>
> * Works fine on linux
>
> * BSD10.3 crashes first time something tries to access what looks 
> like the ShadowMemory
>
> * g++ is a cross build (target bsd10, host rh7)
>
> o   I had to specifically configure -enable-libsanitizer  (so maybe its 
> generally not supported?)

Hi Ken.

The sanitizers are usable in contemporary Clang versions on FreeBSD
but I'm not aware of any effort on getting the GCC ones to work. I
suspect you're correct and it's just disabled by default because it's
unsupported.

I haven't compared the Clang and GCC implementations so I'm not sure
if there's a straightforward way to use the Clang one as a reference.