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, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.