Patrick Masotta
2015-Sep-14 12:22 UTC
[syslinux] EFI: HP + syslinux = crash [ brown paper bag update ]
>>>Oscar is on holiday for another week. But I'm pretty sure his environment should be: ... <<< (Sorry this was in my spam folder...) Well it seems Oscar is building on a 64 bit platform... Best Patrick
Geert Stappers
2015-Sep-14 13:42 UTC
[syslinux] EFI: HP + syslinux = crash [ brown paper bag update ]
On Mon, Sep 14, 2015 at 05:22:40AM -0700, Patrick Masotta via Syslinux wrote:> Teun wrote:} } Gene wrote } } } Smells like an optimizer/stripper bug :( } } } Patrick, Oscar what build environment do you use?> > Oscar is on holiday for another week. But I'm pretty sure his > > environment should be: > > ...} } # gcc -v } } Using built-in specs. } } COLLECT_GCC=gcc } } COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/lto-wrapper } } Target: x86_64-redhat-linux } } Configured with: ../configure --prefix=/usr --mandir=/usr/share/man } } --infodir=/usr/share/info } } --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap } } --enable-shared --enable-threads=posix --enable-checking=release } } --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions } } --enable-gnu-unique-object --enable-linker-build-id } } --with-linker-hash-style=gnu } } --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto } } --enable-plugin --enable-initfini-array --disable-libgcj } } --with-isl=/builddir/build/BUILD/gcc-4.8.2-20140120/obj-x86_64-redhat-linux/isl-install } } --with-cloog=/builddir/build/BUILD/gcc-4.8.2-20140120/obj-x86_64-redhat-linux/cloog-install } } --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 } } --build=x86_64-redhat-linux } } Thread model: posix } } gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) } } ...> > Well it seems Oscar is building on a 64 bit platform...And Gene is building inside a 32-bit VM The text GCC supports the x86-64 architecture implemented by the AMD64 processor (amd64-*-* is an alias for x86_64-*-*) on GNU/Linux, FreeBSD and NetBSD. On GNU/Linux the default is a bi-arch compiler which is able to generate both 64-bit x86-64 and 32-bit x86 code (via the -m32 switch). is from https://gcc.gnu.org/install/specific.html#x86-64-x-x Would adding '-m32' help against the smell of an optimizer/stripper bug? ;-) Groeten Geert Stappers -- Leven en laten leven
Gene Cumm
2015-Sep-14 16:25 UTC
[syslinux] EFI: HP + syslinux = crash [ brown paper bag update ]
On Mon, Sep 14, 2015 at 9:42 AM, Geert Stappers via Syslinux <syslinux at zytor.com> wrote:> On Mon, Sep 14, 2015 at 05:22:40AM -0700, Patrick Masotta via Syslinux wrote: >> Teun wrote: > } } Gene wrote > } } } Smells like an optimizer/stripper bug :( > } } } Patrick, Oscar what build environment do you use? >> > Oscar is on holiday for another week. But I'm pretty sure his >> > environment should be: >> > ... > } } # gcc -v > } } Using built-in specs. > } } COLLECT_GCC=gcc > } } COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/lto-wrapper > } } Target: x86_64-redhat-linux > } } Configured with: ../configure --prefix=/usr --mandir=/usr/share/man > } } --infodir=/usr/share/info > } } --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap > } } --enable-shared --enable-threads=posix --enable-checking=release > } } --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions > } } --enable-gnu-unique-object --enable-linker-build-id > } } --with-linker-hash-style=gnu > } } --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto > } } --enable-plugin --enable-initfini-array --disable-libgcj > } } --with-isl=/builddir/build/BUILD/gcc-4.8.2-20140120/obj-x86_64-redhat-linux/isl-install > } } --with-cloog=/builddir/build/BUILD/gcc-4.8.2-20140120/obj-x86_64-redhat-linux/cloog-install > } } --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 > } } --build=x86_64-redhat-linux > } } Thread model: posix > } } gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) > } } ... >> >> Well it seems Oscar is building on a 64 bit platform... > > And Gene is building inside a 32-bit VM > > The text > GCC supports the x86-64 architecture implemented by the AMD64 processor > (amd64-*-* is an alias for x86_64-*-*) on GNU/Linux, FreeBSD and > NetBSD. On GNU/Linux the default is a bi-arch compiler which is able to > generate both 64-bit x86-64 and 32-bit x86 code (via the -m32 switch). > is from https://gcc.gnu.org/install/specific.html#x86-64-x-x > > Would adding '-m32' help against the smell of an optimizer/stripper bug? ;-)There's already a bunch of '-m32' references around so I'm guessing that's already the way it needs to be. -- -Gene
Patrick Masotta
2015-Sep-14 22:00 UTC
[syslinux] EFI: HP + syslinux = crash [ brown paper bag update ]
>>>The text GCC supports the x86-64 architecture implemented by the AMD64 processor (amd64-*-* is an alias for x86_64-*-*) on GNU/Linux, FreeBSD and NetBSD. On GNU/Linux the default is a bi-arch compiler which is able to generate both 64-bit x86-64 and 32-bit x86 code (via the -m32 switch). is from https://gcc.gnu.org/install/specific.html#x86-64-x-x Would adding '-m32' help against the smell of an optimizer/stripper bug? ;-) Groeten Geert Stappers <<< I do not think so. -m32 parameter is there to compile 32 bits objects on a compiler configured to compile 64 bits objects by default. Then the -m32 surelly is already used when compiling the 32 bit version of Syslinux when using the 64bit GCC Best, Patrick