Opened 10 years ago

Last modified 23 months ago

#45506 new defect

nspr does not build archs consistently — at Version 5

Reported by: nerdling (Jeremy Lavergne) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.99
Keywords: Cc: cal@…, larryv@…
Port: nspr

Description (last modified by larryv (Lawrence Velázquez))

larryv: installing -universal provides fat binaries.
snc: I get i386 which cannot be used by spidermonkey185 (cannot find _PR symbols).
ivoc: he apparently got a working x86_64 from the pre-built archives, skipping the issue of building from source

External tickets referenced in IRC: https://bugzilla.mozilla.org/show_bug.cgi?id=679825 https://bugzilla.mozilla.org/show_bug.cgi?id=245194

Change History (5)

comment:1 Changed 10 years ago by nerdling (Jeremy Lavergne)

Description: modified (diff)
Port: spidermonkey185 added; nspr removed
Summary: nspr: update and fix build on yosemitespidermonkey185: missing _PR symbols on yosemite

comment:2 Changed 10 years ago by nerdling (Jeremy Lavergne)

Cc: cal@… added

comment:3 Changed 10 years ago by nerdling (Jeremy Lavergne)

Cc: larryv@… added

comment:4 Changed 10 years ago by nerdling (Jeremy Lavergne)

Description: modified (diff)
Keywords: yosemite removed
Port: nspr added; spidermonkey185 removed
Summary: spidermonkey185: missing _PR symbols on yosemitenspr does not build archs consistently

comment:5 Changed 10 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)

The configure script decides to tack “-arch i386” onto CC for me:

% sudo port install nspr -universal
:info:configure checking how to run the C preprocessor... ccache /usr/bin/clang -E
[...]
:info:configure checking whether ccache /usr/bin/clang -arch i386 needs -traditional... no
[...]
:info:build ccache /usr/bin/clang -arch i386 [...] -arch x86_64 [...]
Note: See TracTickets for help on using tickets.