Opened 4 years ago
Last modified 4 years ago
#61732 assigned defect
gmp fails to compile due to nm issues on 10.5
Reported by: | rmottola (Riccardo) | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | leopard | Cc: | |
Port: | gmp |
Description
while compiling on 10.5 I get the error below.
checking for assembler local label prefix... configure: WARNING: "/usr/bin/nm -p" failure configure: WARNING: cannot determine local label, using default L L checking for assembler byte directive... .byte checking how to define a 32-bit word... /usr/bin/nm: object: conftest.o malformed object (unknown load command 1) /usr/bin/nm: object: conftest.o malformed object (unknown load command 1)
I added this part to the portfile:
if {${os.platform} eq "darwin" && ${os.major} < 10} { depends_build-append port:cctools configure.env-append NM=${prefix}/bin/nm configure.args-append lt_cv_path_NM=${prefix}/bin/nm }
And configure passes and gmp compiles !
Change History (2)
comment:1 Changed 4 years ago by jmroot (Joshua Root)
Owner: | set to MarcusCalhoun-Lopez |
---|---|
Status: | new → assigned |
comment:2 Changed 4 years ago by mf2k (Frank Schima)
Keywords: | legacy nm removed |
---|
Note: See
TracTickets for help on using
tickets.