#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