[Bug 48285] New: wine fails to build on OpenBSD 6.6

WineHQ Bugzilla wine-bugs at winehq.org
Sat Dec 14 00:28:15 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=48285

            Bug ID: 48285
           Summary: wine fails to build on OpenBSD 6.6
           Product: Wine
           Version: 5.0-rc1
          Hardware: x86
                OS: OpenBSD
            Status: NEW
          Keywords: download, source
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com

I recently got some OpenBSD hardware. I'm running amd64 without 32-bit libs,
but tried ./configure --enable-win64 && make. That quickly fails:
../../tools/winegcc/winegcc -o acledit.dll.so --wine-objdir ../.. -m64 -fPIC
-fasynchronous-unwind-tables  -shared acledit.spec -mno-cygwin main.o 
ld: error: undefined symbol: __wine$func$msvcrt$889$exit
>>> referenced by msvcrt.dl7cmN.o:(exit) in archive ../../dlls/msvcrt/libmsvcrt.a

ld: error: undefined symbol: __wine$func$msvcrt$918$free
>>> referenced by msvcrt.xGOgzp.o:(free) in archive ../../dlls/msvcrt/libmsvcrt.a

ld: error: undefined symbol: __wine$func$msvcrt$930$fwrite
>>> referenced by msvcrt.nznoyJ.o:(fwrite) in archive ../../dlls/msvcrt/libmsvcrt.a

ld: error: undefined symbol: __wine$func$msvcrt$935$getenv
>>> referenced by msvcrt.jGd3C7.o:(getenv) in archive ../../dlls/msvcrt/libmsvcrt.a

ld: error: undefined symbol: __wine$func$msvcrt$977$malloc
>>> referenced by msvcrt.5agt8W.o:(malloc) in archive ../../dlls/msvcrt/libmsvcrt.a

ld: error: undefined symbol: __wine$func$msvcrt$988$memcpy
>>> referenced by msvcrt.poMIg2.o:(memcpy) in archive ../../dlls/msvcrt/libmsvcrt.a

ld: error: undefined symbol: __wine$func$msvcrt$996$perror
>>> referenced by msvcrt.ir9vqr.o:(perror) in archive ../../dlls/msvcrt/libmsvcrt.a

ld: error: undefined symbol: __wine$func$msvcrt$1026$sprintf
>>> referenced by msvcrt.t1nwtD.o:(sprintf) in archive ../../dlls/msvcrt/libmsvcrt.a

ld: error: undefined symbol: __wine$func$msvcrt$1033$strcat
>>> referenced by msvcrt.Au1ZuZ.o:(strcat) in archive ../../dlls/msvcrt/libmsvcrt.a

ld: error: undefined symbol: __wine$func$msvcrt$1035$strchr
>>> referenced by msvcrt.21W0bH.o:(strchr) in archive ../../dlls/msvcrt/libmsvcrt.a

ld: error: undefined symbol: __wine$func$msvcrt$1038$strcpy
>>> referenced by msvcrt.RvKwjV.o:(strcpy) in archive ../../dlls/msvcrt/libmsvcrt.a

ld: error: undefined symbol: __wine$func$msvcrt$1044$strlen
>>> referenced by msvcrt.7i6Hbr.o:(strlen) in archive ../../dlls/msvcrt/libmsvcrt.a

ld: error: undefined symbol: __wine$func$msvcrt$1052$strrchr
>>> referenced by msvcrt.VGJjKk.o:(strrchr) in archive ../../dlls/msvcrt/libmsvcrt.a

ld: error: undefined symbol: __wine$func$msvcrt$1081$vfprintf
>>> referenced by msvcrt.KLRNXW.o:(vfprintf) in archive ../../dlls/msvcrt/libmsvcrt.a

ld: error: undefined symbol: __wine$func$msvcrt$873$bsearch
>>> referenced by msvcrt.vi1qrR.o:(bsearch) in archive ../../dlls/msvcrt/libmsvcrt.a

ld: error: undefined symbol: __wine$func$msvcrt$990$memmove
>>> referenced by msvcrt.qg9ile.o:(memmove) in archive ../../dlls/msvcrt/libmsvcrt.a

ld: error: undefined symbol: __wine$func$msvcrt$1011$realloc
>>> referenced by msvcrt.h4HqQf.o:(realloc) in archive ../../dlls/msvcrt/libmsvcrt.a

ld: error: undefined symbol: __wine$func$msvcrt$1036$strcmp
>>> referenced by msvcrt.tKMem6.o:(strcmp) in archive ../../dlls/msvcrt/libmsvcrt.a

ld: error: undefined symbol: __wine$func$msvcrt$1040$strcspn
>>> referenced by msvcrt.BcWz1G.o:(strcspn) in archive ../../dlls/msvcrt/libmsvcrt.a

ld: error: undefined symbol: __wine$func$msvcrt$1087$vsnprintf
>>> referenced by msvcrt.sbsmdH.o:(vsnprintf) in archive ../../dlls/msvcrt/libmsvcrt.a

ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all
errors)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
winegcc: clang failed
*** Error 2 in dlls/acledit (Makefile:194 'acledit.dll.so')
*** Error 1 in /home/austin/wine-git (Makefile:8546 'dlls/acledit')

LD:
LLD 8.0.1 (compatible with GNU linkers)
compiler:
OpenBSD clang version 8.0.1 (tags/RELEASE_801/final) (based on LLVM 8.0.1)
Target: amd64-unknown-openbsd6.6
Thread model: posix
InstalledDir: /usr/bin

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list