Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#33272 closed defect (fixed)

cannot build clang-2.9_6 on SnowLeopard

Reported by: fu7mu4 (fu7mu4) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), nick@…, cooljeanius (Eric Gallager)
Port: clang-2.9

Description

sorry for simple report only.

I cannot build clang 2.9_6 on SnowLeopard

Attachments (1)

main.log (232.4 KB) - added by fu7mu4 (fu7mu4) 13 years ago.
build log

Download all attachments as: .zip

Change History (13)

Changed 13 years ago by fu7mu4 (fu7mu4)

Attachment: main.log added

build log

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to jeremyhu@…
Port: clang-2.9 added

In the future, please fill in the Port field and Cc the port maintainer(s).

comment:2 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Status: newassigned

Blech. SL is tripping on arm in building the compiler runtime because you've got an old XCode.

I need to figure out the knobs to turn to disable arm support if you've got an ancient toolchain.

comment:3 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: assignedclosed

comment:4 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: closedreopened

comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

comment:6 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

I won't have access to my SL machine until Monday... could someone please test this out:

Index: Portfile
===================================================================
--- Portfile	(revision 89966)
+++ Portfile	(working copy)
@@ -96,6 +96,7 @@
     if {[vercmp $xcodeversion 4.1] < 0} {
         reinplace {/^SubDirs/ s/arm//} ${worksrcpath}/projects/compiler-rt/lib/Makefile.mk
         reinplace {/^UniversalArchs/ s/arm[^ )]* *//g} ${worksrcpath}/projects/compiler-rt/make/platform/clang_darwin.mk
+        reinplace {/^Configs/ s/arm[^ )]* *//g} ${worksrcpath}/projects/compiler-rt/make/platform/clang_darwin.mk
     }
 }
 
}}]

comment:7 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: reopenedclosed

Ok, I think r89989 should handle this. I can expand the variant with checks once I figure out what the appropriate checks are.

comment:8 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: closedreopened

comment:9 Changed 13 years ago by nick@…

Cc: nick@… added

Cc Me!

comment:10 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: reopenedclosed

Ok, r90050 should *really* fix it this time...

comment:11 Changed 13 years ago by nick@…

"Works on my machine". Thanks

comment:12 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.