Opened 11 years ago

Last modified 11 years ago

#37905 closed defect

wine-devel @1.5.23: invalid operand for instruction lretw — at Version 1

Reported by: adamb2903 Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: jwa@…
Port: wine-devel

Description (last modified by ryandesign (Ryan Carsten Schmidt))

This failed, despite fixing some missing dependancies (zenity, libnotify not required by default) and despite cleaning before attempting a rebuild. Logfile is attached. The important details are here:

:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"

Change History (2)

Changed 11 years ago by adamb2903

Attachment: main.log added

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jwa@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned
Summary: wine-devel @1.5.23 build failurewine-devel @1.5.23: invalid operand for instruction lretw

The important details are actually:

:info:build avifile.ucbCvr.s:443:2: error: invalid operand for instruction
:info:build         lretw
:info:build         ^
:info:build avifile.ucbCvr.s:580:2: error: invalid operand for instruction
:info:build         lretw
:info:build         ^
:info:build winebuild: /usr/bin/clang failed with status 1

I see this too on my Lion machine with Xcode 4.3.3, and one (or two?) of our buildbots experienced this as well. It built fine on my Mountain Lion machine with Xcode 4.6.

The problem seems to be that the version of Clang that you have doesn't like to build this part of Wine. What version of Clang do you have? Run "clang -v" to find out. What version of Xcode do you have? Run "xcodebuild -version" to find out.

It is strange that the Wine build is using Clang at all; it should be using only GCC 4.2, since the port says "compiler.whitelist gcc-4.2 apple-gcc-4.2". I must investigate this.

Note: See TracTickets for help on using tickets.