Opened 8 years ago

Closed 8 years ago

Last modified 14 months ago

#5843 closed defect (fixed)

MACOSX: SystemStubs library no longer available on 10.7.

Reported by: SF/schnaks Owned by: criezy
Priority: high Component: Port: Mac OS X
Keywords: build Cc:
Game:

Description

Apple removed the SystemStubs library on Mac OS X 10.7. Thus make’ing the scummvm-static target results in a linker error. (ld: library not found for -lSystemStubs)

The SystemStubs library was introduced for compatibility reason between GCC 3.3 and 4, and never contained any code for 64 bit PPC or x86/x86_64 architectures. (see http://opensource.apple.com/source/SystemStubs/SystemStubs-6/dummy.c)

It was added to ScummVM’s build system in commit b8a0f9659fa72d04dad01147046432d12e140859.

Ticket imported from: #3407662. Ticket imported from: bugs/5843.

Change History (7)

comment:1 by sev-, 8 years ago

This bug is nice to get fixed before the release. Raising priority for keeping the track.

comment:2 by sev-, 8 years ago

Priority: normalhigh

comment:3 by digitall, 8 years ago

Owner: set to criezy
Resolution: fixed
Status: newpending

comment:4 by digitall, 8 years ago

This was removed in f83b53ad6bdf58a90791c3c1123f427cf5b7ddb7: criezy 2011-10-04 00:34:42

MACOSX: Remove -lSystemStubs from the link for scummvm-static

This should fix bug #3407662: SystemStubs library no longer available on 10.7. I tested compilation on 10.6 and there is no link error after removing it. Hopefully it will work on older systems as well.

This is only tested when a "make static" build is done or "make bundle" is done for packaging. criezy did test with these commands on his 10.5 box and the buildbot osx_intel and osx_ppc builds only do this when they package the nightly builds, but this has now occured with no failures, so I'm going to set this bug pending.

Unless anyone else comments, it will automatically close in 14 days.

comment:5 by bluegr, 8 years ago

Changing from "Pending" to "Closed" (which hasn't been done automatically, for some odd reason)

comment:6 by bluegr, 8 years ago

Status: pendingclosed

comment:7 by digitall, 14 months ago

Component: Port: Mac OS X
Note: See TracTickets for help on using tickets.