[Bug 22863] New: Win64 compile broken on FreeBSD
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon May 24 18:39:50 CDT 2010
http://bugs.winehq.org/show_bug.cgi?id=22863
Summary: Win64 compile broken on FreeBSD
Product: Wine
Version: 1.2-rc1
Platform: x86-64
URL: http://www.freebsd.org
OS/Version: FreeBSD
Status: NEW
Keywords: download, source, win64
Severity: enhancement
Priority: P2
Component: ntdll
AssignedTo: wine-bugs at winehq.org
ReportedBy: austinenglish at gmail.com
Of course Linux is the only supported OS right now, but I've sent a couple
patches to start the FreeBSD port. For now, main bug is ntdll, which fails to
compile in signal_x86_64.c:
/usr/Programs/bin/gcc45 -c -I. -I. -I../../include -I../../include
-D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
-Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings
-Wpointer-arith -g -O2 -o signal_x86_64.o signal_x86_64.c
signal_x86_64.c:1331:51: warning: type defaults to 'int' in declaration of
'ucontext_t'
signal_x86_64.c:1331:62: error: expected ';', ',' or ')' before '*' token
signal_x86_64.c:1384:54: error: expected declaration specifiers or '...' before
'ucontext_t'
signal_x86_64.c: In function 'restore_context':
signal_x86_64.c:1386:5: warning: implicit declaration of function 'RAX_sig'
signal_x86_64.c:1386:13: error: 'sigcontext' undeclared (first use in this
function)
signal_x86_64.c:1386:13: note: each undeclared identifier is reported only once
for each function it appears in
signal_x86_64.c:1387:5: warning: implicit declaration of function 'RCX_sig'
signal_x86_64.c:1388:5: warning: implicit declaration of function 'RDX_sig'
signal_x86_64.c:1389:5: warning: implicit declaration of function 'RBX_sig'
signal_x86_64.c:1390:5: warning: implicit declaration of function 'RSP_sig'
signal_x86_64.c:1391:5: warning: implicit declaration of function 'RBP_sig'
signal_x86_64.c:1392:5: warning: implicit declaration of function 'RSI_sig'
signal_x86_64.c:1393:5: warning: implicit declaration of function 'RDI_sig'
signal_x86_64.c:1394:5: warning: implicit declaration of function 'R8_sig'
signal_x86_64.c:1395:5: warning: implicit declaration of function 'R9_sig'
signal_x86_64.c:1396:5: warning: implicit declaration of function 'R10_sig'
signal_x86_64.c:1397:5: warning: implicit declaration of function 'R11_sig'
signal_x86_64.c:1398:5: warning: implicit declaration of function 'R12_sig'
signal_x86_64.c:1399:5: warning: implicit declaration of function 'R13_sig'
signal_x86_64.c:1400:5: warning: implicit declaration of function 'R14_sig'
signal_x86_64.c:1401:5: warning: implicit declaration of function 'R15_sig'
signal_x86_64.c:1402:5: warning: implicit declaration of function 'RIP_sig'
signal_x86_64.c:1403:5: warning: implicit declaration of function 'CS_sig'
signal_x86_64.c:1404:5: warning: implicit declaration of function 'FS_sig'
signal_x86_64.c:1405:5: warning: implicit declaration of function 'GS_sig'
signal_x86_64.c:1406:5: warning: implicit declaration of function 'EFL_sig'
signal_x86_64.c:1416:5: warning: implicit declaration of function 'FPU_sig'
signal_x86_64.c: At top level:
signal_x86_64.c:1650:54: error: expected ')' before '*' token
signal_x86_64.c: In function 'segv_handler':
signal_x86_64.c:2066:5: warning: implicit declaration of function
'setup_exception'
signal_x86_64.c:2066:29: warning: initialization makes pointer from integer
without a cast
signal_x86_64.c:2067:5: error: 'ucontext_t' undeclared (first use in this
function)
signal_x86_64.c:2067:17: error: 'ucontext' undeclared (first use in this
function)
signal_x86_64.c:2069:5: warning: implicit declaration of function 'TRAP_sig'
signal_x86_64.c:2086:9: warning: implicit declaration of function 'ERROR_sig'
signal_x86_64.c: In function 'trap_handler':
signal_x86_64.c:2119:29: warning: initialization makes pointer from integer
without a cast
signal_x86_64.c: In function 'fpe_handler':
signal_x86_64.c:2143:29: warning: initialization makes pointer from integer
without a cast
signal_x86_64.c: In function 'int_handler':
signal_x86_64.c:2184:33: warning: initialization makes pointer from integer
without a cast
signal_x86_64.c: In function 'abrt_handler':
signal_x86_64.c:2197:29: warning: initialization makes pointer from integer
without a cast
signal_x86_64.c: In function 'usr1_handler':
signal_x86_64.c:2223:5: warning: implicit declaration of function
'save_context'
signal_x86_64.c:2225:5: error: too many arguments to function 'restore_context'
signal_x86_64.c:1384:13: note: declared here
*** Error code 1
I'm looking into it as time permits, but for now, it's useful to have a bug to
point FreeBSD users to.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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