[MacPorts] #32649: erlang R15B build fails on 10.5.8 ppc (powerpc-apple-darwin9.8.0)
#32649: erlang R15B build fails on 10.5.8 ppc (powerpc-apple-darwin9.8.0) ---------------------------------+------------------------------------------ Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: erlang R15B_1 ---------------------------------+------------------------------------------ The error is this: :info:build powerpc-apple- darwin9.8.0/opt/smp/hipe_ppc_bifs.S:457:Parameter syntax error (parameter 3) Full log is attached. -- Ticket URL: <https://trac.macports.org/ticket/32649> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32649: erlang R15B build fails on 10.5.8 ppc (powerpc-apple-darwin9.8.0) ---------------------------------+------------------------------------------ Reporter: macports@… | Owner: bfulgham@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: erlang ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * owner: macports-tickets@… => bfulgham@… * port: erlang R15B_1 => erlang Old description:
The error is this:
:info:build powerpc-apple- darwin9.8.0/opt/smp/hipe_ppc_bifs.S:457:Parameter syntax error (parameter 3)
Full log is attached.
New description: The error is this: {{{ :info:build powerpc-apple- darwin9.8.0/opt/smp/hipe_ppc_bifs.S:457:Parameter syntax error (parameter 3) }}} Full log is attached. -- -- Ticket URL: <https://trac.macports.org/ticket/32649#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32649: erlang R15B build fails on 10.5.8 ppc (powerpc-apple-darwin9.8.0) ---------------------------------+------------------------------------------ Reporter: macports@… | Owner: bfulgham@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: haspatch | Port: erlang ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * keywords: => haspatch Comment: Confirmed on my Leopard G4. The problem seems to be that some of the lines they've added to the assembler source files in R15B contain comments, like this: {{{ STORE r4, P_ARG0(r3) # Store BIF__ARGS in def_arg_reg[] }}} And the assembler doesn't like those comments. Another report of this kind of problem is [https://bugzilla.gnome.org/show_bug.cgi?id=122952 here]. There, they fixed the problem by removing the comments, but I think the problem is just that "#" is not a valid start-of-comment character in this context, at least not for the assembler that's on PowerPC Macs. I Googled examples of PowerPC assembly code, and they use ";" as the start-of- comment character. Here's a patch that makes this change, and now it builds for me. I haven't tested on Tiger yet. -- Ticket URL: <https://trac.macports.org/ticket/32649#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32649: erlang R15B build fails on 10.5.8 ppc (powerpc-apple-darwin9.8.0) ---------------------------------+------------------------------------------ Reporter: macports@… | Owner: bfulgham@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: haspatch | Port: erlang ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * cc: ryandesign@… (added) -- Ticket URL: <https://trac.macports.org/ticket/32649#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32649: erlang R15B build fails on 10.5.8 ppc (powerpc-apple-darwin9.8.0) ---------------------------------+------------------------------------------ Reporter: macports@… | Owner: bfulgham@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: haspatch | Port: erlang ---------------------------------+------------------------------------------ Comment(by smbmacportstrac@…): I just verified that this patch fixes the compile problem. Please commit this fix. It is still needed for 10.5.8 ppc. Thank you. -- Ticket URL: <https://trac.macports.org/ticket/32649#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32649: erlang R15B build fails on 10.5.8 ppc (powerpc-apple-darwin9.8.0) ----------------------------------+----------------------------------------- Reporter: macports@… | Owner: bfulgham@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: haspatch Port: erlang | ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Committed in r96434. Someone should still report this problem to the developers of erlang. -- Ticket URL: <https://trac.macports.org/ticket/32649#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts