Gene Cumm
2015-Sep-13 16:00 UTC
[syslinux] EFI: HP + syslinux = crash [ brown paper bag update ]
On Sun, Sep 13, 2015 at 10:14 AM, Patrick Masotta <masottaus at yahoo.com> wrote:> >>>> > > > > The empty define should work; actually it did work for many years... > > > > Your just proposed change was my first attempt for solving this but for some > > reason it did not work. After testing a lot the only way I've found to solve this > > bug was defining a "real" empty function. I know, 100% hacky but it works. > > If the voiding doesn't work, we'll need that function in another 44 > lines of code, spread throughout the source. > > -- > -Gene > <<< > > You might be right; I have mentioned before that this bug could probably impact other parts of the code. > So far I'm continually using vesamenu.c32 with PNG images w/o any problem. But the Zlib code > is surely used in many more places! > > I really do not know why the compiler is not correctly parsing the void function or if > there is a particular condition that triggers this behavior in this particular case. > This issue is very hard to trace/reproduce/debug/report, etc. a real PITA.Smells of an optimizer/stripper bug :( Patrick, Oscar, what specific build tools are you two using? GNU ld (GNU Binutils for Debian) 2.22 gcc version 4.7.2 (Debian 4.7.2-5) NASM version 2.10.01 Trying to recall if there's other utility packages. -- -Gene
Patrick Masotta
2015-Sep-13 20:38 UTC
[syslinux] EFI: HP + syslinux = crash [ brown paper bag update ]
>>>Patrick, Oscar, what specific build tools are you two using? GNU ld (GNU Binutils for Debian) 2.22 gcc version 4.7.2 (Debian 4.7.2-5) NASM version 2.10.01 Trying to recall if there's other utility packages. -- -Gene <<< I think we run the same building environment... #cat /etc/debian_version Debian 7.8 (64 bits) #ld -v GNU ld (GNU Binutils for Debian) 2.22 #gcc -v gcc version 4.7.2 (Debian 4.7.2-5) #nasm -v NASM version 2.10.01 compiled on Jun 14 2012 #apt-cache show gcc-multilib gcc-multilib_4.7.2-1_amd64.deb #apt-cache show uuid-dev uuid-dev_2.20.1-5.3_amd64.deb Best, Patrick
Gene Cumm
2015-Sep-13 20:58 UTC
[syslinux] EFI: HP + syslinux = crash [ brown paper bag update ]
On Sun, Sep 13, 2015 at 4:38 PM, Patrick Masotta <masottaus at yahoo.com> wrote:>>>> > > Patrick, Oscar, what specific build tools are you two using? > > GNU ld (GNU Binutils for Debian) 2.22 > gcc version 4.7.2 (Debian 4.7.2-5) > NASM version 2.10.01 > > Trying to recall if there's other utility packages. > > -- > -Gene > <<< > > I think we run the same building environment... > > #cat /etc/debian_version > Debian 7.8 (64 bits)My build VM is 32-bit.> #ld -v > GNU ld (GNU Binutils for Debian) 2.22 > > #gcc -v > gcc version 4.7.2 (Debian 4.7.2-5) > > #nasm -v > NASM version 2.10.01 compiled on Jun 14 2012 > > #apt-cache show gcc-multilib > gcc-multilib_4.7.2-1_amd64.deb > > #apt-cache show uuid-dev > uuid-dev_2.20.1-5.3_amd64.deb-- -Gene
Teun Docter
2015-Sep-14 08:52 UTC
[syslinux] EFI: HP + syslinux = crash [ brown paper bag update ]
On 2015-09-13 18:00, Gene Cumm via Syslinux wrote:> Patrick, Oscar, what specific build tools are you two using?Oscar is on holiday for another week. But I'm pretty sure his environment should be: # cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 (Maipo) # ld -v GNU ld version 2.23.52.0.1-16.el7 20130226 # 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) # nasm -v NASM version 2.10.07 compiled on Jan 26 2014 # rpm -q libuuid-devel libuuid-devel-2.23.2-16.el7.x86_64 Best regards, Teun
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
Oscar Roozen
2015-Sep-21 11:32 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: > > # cat /etc/redhat-release > Red Hat Enterprise Linux Server release 7.0 (Maipo) > > # ld -v > GNU ld version 2.23.52.0.1-16.el7 20130226 > > # 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) > > # nasm -v > NASM version 2.10.07 compiled on Jan 26 2014 > > # rpm -q libuuid-devel > libuuid-devel-2.23.2-16.el7.x86_64 > > > Best regards, > TeunSpot on!
Reasonably Related Threads
- EFI: HP + syslinux = crash [ brown paper bag update ]
- EFI: HP + syslinux = crash [ brown paper bag update ]
- EFI: HP + syslinux = crash [ brown paper bag update ]
- EFI: HP + syslinux = crash [ brown paper bag update ]
- EFI: HP + syslinux = crash [ brown paper bag update ]