Alan Modra writes:
> On Thu, Nov 01, 2018 at 02:55:34PM +1100, Michael Ellerman wrote:
>> Hi Florian,
>>
>> Florian Weimer writes:
>> > We tried to use Go to build PIE binaries, and while the Go toolchain is
>> > definitely not ready (it produces text relocations and problematic
>> > relocations
Florian Weimer writes:
> * Michael Ellerman:
>
>> Hi Florian,
>>
>> Florian Weimer writes:
>>> We tried to use Go to build PIE binaries, and while the Go toolchain is
>>> definitely not ready (it produces text relocations and problematic
>>> relocations in general), it exposed what could be an ac
* Michael Ellerman:
> Hi Florian,
>
> Florian Weimer writes:
>> We tried to use Go to build PIE binaries, and while the Go toolchain is
>> definitely not ready (it produces text relocations and problematic
>> relocations in general), it exposed what could be an accidental
>> userspace ABI change.
On Thu, Nov 01, 2018 at 02:55:34PM +1100, Michael Ellerman wrote:
> Hi Florian,
>
> Florian Weimer writes:
> > We tried to use Go to build PIE binaries, and while the Go toolchain is
> > definitely not ready (it produces text relocations and problematic
> > relocations in general), it exposed wha
Hi Florian,
Florian Weimer writes:
> We tried to use Go to build PIE binaries, and while the Go toolchain is
> definitely not ready (it produces text relocations and problematic
> relocations in general), it exposed what could be an accidental
> userspace ABI change.
>
> With our 4.10-derived ker
On Wed, 31 Oct 2018 19:04:14 -0300
Tulio Magno Quites Machado Filho wrote:
> Florian Weimer writes:
>
> > * Tulio Magno Quites Machado Filho:
> >
> >> I wonder if this is restricted to linker that Golang uses.
> >> Were you able to reproduce the same problem with Binutils'
> >> linker?
> >
On Wed, 2018-10-31 at 18:54 +0100, Florian Weimer wrote:
>
> It would matter to C code which returns the address of a global variable
> in the main program through and (implicit) int return value.
>
> The old behavior hid some pointer truncation issues.
Hiding bugs like that is never a good idea
Florian Weimer writes:
> * Tulio Magno Quites Machado Filho:
>
>> I wonder if this is restricted to linker that Golang uses.
>> Were you able to reproduce the same problem with Binutils' linker?
>
> The example is carefully constructed to use the external linker. It
> invokes gcc, which then inv
Florian Weimer writes:
> * Michal Suchánek:
>
>> On Wed, 31 Oct 2018 18:20:56 +0100
>> Florian Weimer wrote:
>>
>>> And it needs to be built with:
>>>
>>> go build -ldflags=-extldflags=-pie extld.go
>>>
>>> I'm not entirely sure what to make of this, but I'm worried that this
>>> could be a
* Tulio Magno Quites Machado Filho:
> Florian Weimer writes:
>
>> * Michal Suchánek:
>>
>>> On Wed, 31 Oct 2018 18:20:56 +0100
>>> Florian Weimer wrote:
>>>
And it needs to be built with:
go build -ldflags=-extldflags=-pie extld.go
I'm not entirely sure what to make
* Michal Suchánek:
> On Wed, 31 Oct 2018 18:20:56 +0100
> Florian Weimer wrote:
>
>> We tried to use Go to build PIE binaries, and while the Go toolchain
>> is definitely not ready (it produces text relocations and problematic
>> relocations in general), it exposed what could be an accidental
>>
On Wed, 31 Oct 2018 18:20:56 +0100
Florian Weimer wrote:
> We tried to use Go to build PIE binaries, and while the Go toolchain
> is definitely not ready (it produces text relocations and problematic
> relocations in general), it exposed what could be an accidental
> userspace ABI change.
>
> Wi
12 matches
Mail list logo