Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#41288 closed defect (fixed)

luajit @2.0.1: Unknown pseudo-op: .uleb128

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: anddam (Andrea D'Amore)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: leopard haspatch Cc: mackyle@…, mojca (Mojca Miklavec)
Port: luajit

Description

luajit @2.0.1 fails to build on Leopard i386 with:

:info:build /usr/bin/gcc-4.2  -O2 -fomit-frame-pointer -Wall  -Os -I/opt/local/include -arch i386 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U_FORTIFY_SOURCE -march=i686 -DLUA_XROOT=\"/opt/local/\" -fno-stack-protector   -c -o lj_vm.o lj_vm.s
:info:build buildvm_x86.dasc:7137:Unknown pseudo-op: .uleb128
:info:build buildvm_x86.dasc:7137:Rest of line ignored. 1st junk character valued 48 (0).
:info:build make[2]: *** [lj_vm.o] Error 1

Attachments (3)

luajit.leopard.main.log (11.0 KB) - added by ryandesign (Ryan Carsten Schmidt) 10 years ago.
luajit_patch_leopard.diff.txt (525 bytes) - added by mackyle@… 10 years ago.
Patch to build luajit on leopard
luajit_tiger_leopard.patch.txt (2.5 KB) - added by mackyle@… 10 years ago.
Patch to build on intel 10.4 and 10.5 both 32-bit and 64-bit (replaces luajit_patch_leopard.diff.txt​)

Download all attachments as: .zip

Change History (11)

Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: luajit.leopard.main.log added

comment:1 Changed 10 years ago by mackyle@…

Just ran into this myself. I have attached the needed patch after which it builds and runs.

Changed 10 years ago by mackyle@…

Patch to build luajit on leopard

comment:2 Changed 10 years ago by mackyle@…

Cc: mackyle@… added

Cc Me!

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added

Is this fix already known to the developers of luajit? Is there an upstream bug report or changeset you can refer me to?

Changed 10 years ago by mackyle@…

Patch to build on intel 10.4 and 10.5 both 32-bit and 64-bit (replaces luajit_patch_leopard.diff.txt​)

comment:4 Changed 10 years ago by mackyle@…

The latest patch has been sent upstream to the developer and the mailing list.

See the archived message at:

http://www.freelists.org/post/luajit/vm-x86dasc-support-building-on-OS-X-104-and-105-intel

comment:5 Changed 10 years ago by mackyle@…

comment:6 Changed 10 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added

Cc Me!

comment:7 Changed 10 years ago by anddam (Andrea D'Amore)

Status: newassigned

comment:8 Changed 10 years ago by anddam (Andrea D'Amore)

Resolution: fixed
Status: assignedclosed

Updated luajit to 2.0.3 in r118222.

This embeds the two patches I'm closing the ticket but I don't have a way to check build on Tiger or Leopard and there are no buildbots for those so if you can reproduce please reopen the ticket. TIcket closed.

Version 0, edited 10 years ago by anddam (Andrea D'Amore) (next)
Note: See TracTickets for help on using tickets.