Re: [uml-devel] File corruption with hostfs and GNU Gold linker

2013-01-08 Thread Tristan Schmelcher
On 7 January 2013 22:43, Richard Weinberger rich...@nod.at wrote: Am Mon, 7 Jan 2013 17:55:29 -0800 schrieb Tristan Schmelcher tschmelc...@google.com: Hello, I am using UML as part of a hermetic build system and I have encountered an odd file corruption problem with the GNU Gold

Re: [uml-devel] File corruption with hostfs and GNU Gold linker

2013-01-08 Thread Tristan Schmelcher
Here's a minimal test program that repros the problem. On 8 January 2013 12:22, Tristan Schmelcher tschmelc...@google.com wrote: On 7 January 2013 22:43, Richard Weinberger rich...@nod.at wrote: Am Mon, 7 Jan 2013 17:55:29 -0800 schrieb Tristan Schmelcher tschmelc...@google.com: Hello,

Re: [uml-devel] File corruption with hostfs and GNU Gold linker

2013-01-08 Thread Richard Weinberger
Am Tue, 8 Jan 2013 13:30:09 -0800 schrieb Tristan Schmelcher tschmelc...@google.com: Here's a minimal test program that repros the problem. I wrote already a test program. :) Currently fixing hostfs... Thanks, //richard

[uml-devel] File corruption with hostfs and GNU Gold linker

2013-01-07 Thread Tristan Schmelcher
Hello, I am using UML as part of a hermetic build system and I have encountered an odd file corruption problem with the GNU Gold linker. When linking a binary inside a UML VM with Gold, if the output path is on a hostfs mount then all bytes in the output file produced by Gold are zero. However,

Re: [uml-devel] File corruption with hostfs and GNU Gold linker

2013-01-07 Thread Richard Weinberger
Am Mon, 7 Jan 2013 17:55:29 -0800 schrieb Tristan Schmelcher tschmelc...@google.com: Hello, I am using UML as part of a hermetic build system and I have encountered an odd file corruption problem with the GNU Gold linker. When linking a binary inside a UML VM with Gold, if the output path