Opened 13 years ago
Closed 12 years ago
#32649 closed defect (fixed)
erlang R15B build fails on 10.5.8 ppc (powerpc-apple-darwin9.8.0)
Reported by: | bK4gYuRo | Owned by: | bfulgham@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | haspatch | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | erlang |
Description (last modified by mf2k (Frank Schima))
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.
Attachments (3)
Change History (8)
Changed 13 years ago by bK4gYuRo
comment:1 Changed 13 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to bfulgham@… |
Port: | R15B_1 removed |
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch added |
---|
Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | Portfile.diff added |
---|
proposed patch
Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | patch-erts_emulator_hipe_hipe_ppc_bifs.m4.diff added |
---|
proposed patch
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
comment:4 Changed 12 years ago 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.
comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Committed in r96434.
Someone should still report this problem to the developers of erlang.
Note: See
TracTickets for help on using
tickets.
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:
And the assembler doesn't like those comments. Another report of this kind of problem is 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.