[LLVMbugs] [Bug 11173] New: Dragonegg should support -fno-builtin

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 18 12:23:49 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=11173

           Summary: Dragonegg should support -fno-builtin
           Product: dragonegg
           Version: trunk
          Platform: PC
               URL: http://bugs.winehq.org/show_bug.cgi?id=28050
        OS/Version: Linux
            Status: NEW
          Keywords: missing-feature
          Severity: enhancement
          Priority: P
         Component: New Bugs
        AssignedTo: baldrick at free.fr
        ReportedBy: austinenglish at gmail.com
                CC: llvmbugs at cs.uiuc.edu
            Blocks: 10682


Needed when compiling wine:
austin at debian:~/wine-git/loader$ make
llvm-gcc -o wine-preloader -static -nostartfiles -nodefaultlibs
-Wl,-Ttext=0x7c400000 preloader.o ../libs/port/libwine_port.a
preloader.o: In function `set_process_name':
/home/austin/wine-git/loader//preloader.c:455: undefined reference to `memset'
preloader.o: In function `map_so_lib':
/home/austin/wine-git/loader//preloader.c:455: undefined reference to `memset'
collect2: ld returned 1 exit status
make: *** [wine-preloader] Error 1

clang is synthesizing a call to memset, breaking the wine preloader. Disabling
optimization works around it.

See also http://bugs.winehq.org/show_bug.cgi?id=28050

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list