http://bugs.winehq.org/show_bug.cgi?id=33521
Bug #: 33521 Summary: Compilation fails with GCC 4.8 -O3 Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: jeff@deseret-tech.com Classification: Unclassified
WINE compilation fails with ArchLinux's GCC 4.8.0-4 (currently in testing).
preloader.o: In function `map_so_lib': preloader.c:(.text+0x9e8): undefined reference to `memset' preloader.o: In function `wld_start': preloader.c:(.text+0x28d9): undefined reference to `memset' collect2: error: ld returned 1 exit status make[1]: *** [wine-preloader] Error 1
The distro-specific package is relevant because the codebase used is actually a snapshot of version control taken on 2013 May 2, which includes the patch discussed in bug #33307.
Compare bug #28050, regarding the same error, manifest in LLVM w/ dragonegg and GCC 4.5. See http://llvm.org/bugs/show_bug.cgi?id=11173 for information on that. Don't see an appropriate bug on GCC's tracker at the moment, not likely to have time to create it.