Opened 7 years ago

Closed 7 years ago

#56199 closed defect (wontfix)

darwintracelib is built for insufficient archs

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: base Version: 2.4.2
Keywords: tiger leopard snowleopard Cc: neverpanic (Clemens Lang)
Port:

Description

In r111493 darwintrace's Makefile was changed to add ${UNIVERSAL_ARCHFLAGS}. The comment added says:

# Build darwintrace for universal archs so support all binaries this system can
# run.

But UNIVERSAL_ARCHS isn't a list of all archs this system can run. From aclocal.m4, on 10.6 and later, UNIVERSAL_ARCHS defaults to x86_64 i386 but 10.6 can also run ppc binaries. On 10.5 and earlier, it defaults to i386 ppc but 10.4 and 10.5 can also run x86_64 and ppc64 binaries. Plus, the user can override UNIVERSAL_ARCHS with the --with-universal-archs configure flag.

There should be a new configure variable that cannot be configured by the user that contains the set of archs this OS version can run, and darwintracelib should build for those.

Change History (1)

comment:1 Changed 7 years ago by neverpanic (Clemens Lang)

Resolution: wontfix
Status: newclosed

Trace mode doesn't work (correctly) on 10.6 and below anyway, as far as I recall, so while you're technically correct, the difference can be ignored.

Note: See TracTickets for help on using tickets.