Hello all,
I just upgraded my workstation to Fedora 15 Alpha (due to drivers unavailable in Fedora 14) and I'm having issues with mingw building Syslinux win32.
Specifically, it looks like *something* (a library, perhaps) is trying to pull in the unwind library which in turn wants TLS, which isn't there. I would prefer to generate as small of an executable as possible, but more than anything else I would like for this to work without breaking previous versions, so any tips about what I would need to do would be appreciated.
-hpa
i686-pc-mingw32-gcc -Os -s -o syslinux.exe syslinux.obj syslinux.lib /usr/lib64/gcc/i686-pc-mingw32/4.5.1/libgcc_eh.a(unwind-sjlj.o): In function `__gthread_key_create': /builddir/build/BUILD/gcc-4.5.1/build/i686-pc-mingw32/libgcc/../../../libgcc/../gcc/gthr-win32.h:582: undefined reference to `_TlsAlloc@0' /builddir/build/BUILD/gcc-4.5.1/build/i686-pc-mingw32/libgcc/../../../libgcc/../gcc/gthr-win32.h:589: undefined reference to `___mingwthr_key_dtor' /usr/lib64/gcc/i686-pc-mingw32/4.5.1/libgcc_eh.a(unwind-sjlj.o): In function `__gthread_once': /builddir/build/BUILD/gcc-4.5.1/build/i686-pc-mingw32/libgcc/../../../libgcc/../gcc/gthr-win32.h:554: undefined reference to `_InterlockedIncrement@4' /usr/lib64/gcc/i686-pc-mingw32/4.5.1/libgcc_eh.a(unwind-sjlj.o): In function `__gthread_setspecific': /builddir/build/BUILD/gcc-4.5.1/build/i686-pc-mingw32/libgcc/../../../libgcc/../gcc/gthr-win32.h:621: undefined reference to `_TlsSetValue@8' /builddir/build/BUILD/gcc-4.5.1/build/i686-pc-mingw32/libgcc/../../../libgcc/../gcc/gthr-win32.h:621: undefined reference to `_TlsSetValue@8' /usr/lib64/gcc/i686-pc-mingw32/4.5.1/libgcc_eh.a(unwind-sjlj.o): In function `__gthread_getspecific': /builddir/build/BUILD/gcc-4.5.1/build/i686-pc-mingw32/libgcc/../../../libgcc/../gcc/gthr-win32.h:613: undefined reference to `_SetLastError@4' /usr/lib64/gcc/i686-pc-mingw32/4.5.1/libgcc_eh.a(unwind-sjlj.o): In function `__gthread_setspecific': /builddir/build/BUILD/gcc-4.5.1/build/i686-pc-mingw32/libgcc/../../../libgcc/../gcc/gthr-win32.h:621: undefined reference to `_TlsSetValue@8' /builddir/build/BUILD/gcc-4.5.1/build/i686-pc-mingw32/libgcc/../../../libgcc/../gcc/gthr-win32.h:621: undefined reference to `_TlsSetValue@8' /usr/lib64/gcc/i686-pc-mingw32/4.5.1/libgcc_eh.a(unwind-sjlj.o): In function `__gthread_getspecific': /builddir/build/BUILD/gcc-4.5.1/build/i686-pc-mingw32/libgcc/../../../libgcc/../gcc/gthr-win32.h:613: undefined reference to `_SetLastError@4' /builddir/build/BUILD/gcc-4.5.1/build/i686-pc-mingw32/libgcc/../../../libgcc/../gcc/gthr-win32.h:613: undefined reference to `_SetLastError@4' /builddir/build/BUILD/gcc-4.5.1/build/i686-pc-mingw32/libgcc/../../../libgcc/../gcc/gthr-win32.h:613: undefined reference to `_SetLastError@4' /builddir/build/BUILD/gcc-4.5.1/build/i686-pc-mingw32/libgcc/../../../libgcc/../gcc/gthr-win32.h:613: undefined reference to `_SetLastError@4' /builddir/build/BUILD/gcc-4.5.1/build/i686-pc-mingw32/libgcc/../../../libgcc/../gcc/gthr-win32.h:613: undefined reference to `_SetLastError@4' collect2: ld returned 1 exit status
H. Peter Anvin schreef op ma 14-03-2011 om 09:39 [-0700]:
Hello all,
I just upgraded my workstation to Fedora 15 Alpha (due to drivers unavailable in Fedora 14) and I'm having issues with mingw building Syslinux win32.
Hi hpa,
It's true that the mingw32 toolchain in Fedora 15 Alpha is broken. Due to the mass rebuild a broken version of mingw32-runtime was pushed in the build trees. A request to un-tag the broken version has been requested and it has just been approved. See [1] and [2] for more details. Could you try if 'yum downgrade mingw32-runtime' works for you? (It should downgrade to version 3.15). You might have to wait for the new daily push for this to work..
Kind regards,
Erik van Pienbroek
1: https://fedorahosted.org/rel-eng/ticket/4448 2: https://bugzilla.redhat.com/show_bug.cgi?id=629209
On 03/14/2011 10:44 AM, Erik van Pienbroek wrote:
H. Peter Anvin schreef op ma 14-03-2011 om 09:39 [-0700]:
Hello all,
I just upgraded my workstation to Fedora 15 Alpha (due to drivers unavailable in Fedora 14) and I'm having issues with mingw building Syslinux win32.
Hi hpa,
It's true that the mingw32 toolchain in Fedora 15 Alpha is broken. Due to the mass rebuild a broken version of mingw32-runtime was pushed in the build trees. A request to un-tag the broken version has been requested and it has just been approved. See [1] and [2] for more details. Could you try if 'yum downgrade mingw32-runtime' works for you? (It should downgrade to version 3.15). You might have to wait for the new daily push for this to work..
OK, will try tomorrow.
Thanks!
-hpa