Opened 11 years ago

Closed 11 years ago

Last modified 3 years ago

#43476 closed defect (wontfix)

llvm-3.3 @3.3_1 +universal ppc ppc64 build failure

Reported by: carl.shapiro@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: llvm-3.3

Description (last modified by ryandesign (Ryan Carsten Schmidt))

When doing a build of "gcc48 +universal ppc ppc64" on PowerPC host running 10.5 I experiencing the following build failure in the llvm-3.3 dependency. I have successfully build a non-universal (ppc only) gcc48 and, by extension llvm, in the past.

I am not familiar with the LLVM build but the following output appears before the build stops. I will attach a complete log to this ticket. I am happy to help resolve this issue if someone with the relevant LLVM knowledge can provide me with some direction.

llvm[2]: Compiling SplitKit.cpp for Release+Debug+Asserts build
/usr/bin/g++-4.2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src/lib/CodeGen  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Os  -g -fvisibility-inlines-hidden -fno-exceptions -fno-common -Woverloaded-virtual -Wcast-qual -pipe -Os -arch ppc -arch ppc64  -mmacosx-version-min=10.5 -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings     -Wno-missing-field-initializers -arch ppc -arch ppc64 -c SplitKit.cpp -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src/lib/CodeGen/Release+Debug+Asserts/SplitKit.o
{standard input}:38:Parameter syntax error (parameter 1)
{standard input}:39:Parameter syntax error (parameter 1)
{standard input}:40:Parameter syntax error (parameter 1)
{standard input}:41:Parameter syntax error (parameter 1)
{standard input}:42:Parameter syntax error (parameter 1)
{standard input}:43:Parameter syntax error (parameter 1)
{standard input}:44:Parameter syntax error (parameter 1)
{standard input}:45:Parameter syntax error (parameter 1)
{standard input}:46:Parameter syntax error (parameter 1)
{standard input}:47:Parameter syntax error (parameter 1)
{standard input}:48:Parameter syntax error (parameter 1)
{standard input}:49:Parameter syntax error (parameter 1)
{standard input}:50:Parameter syntax error (parameter 1)
{standard input}:51:Parameter syntax error (parameter 1)
{standard input}:52:Parameter syntax error (parameter 1)
{standard input}:53:Parameter syntax error (parameter 1)
{standard input}:54:Parameter syntax error (parameter 1)
{standard input}:55:Parameter syntax error (parameter 1)
{standard input}:56:Parameter syntax error (parameter 1)
{standard input}:57:Parameter syntax error (parameter 1)
{standard input}:58:Parameter syntax error (parameter 1)
{standard input}:59:Parameter syntax error (parameter 1)
{standard input}:60:Parameter syntax error (parameter 1)
{standard input}:61:Parameter syntax error (parameter 1)
{standard input}:62:Parameter syntax error (parameter 1)
{standard input}:63:Parameter syntax error (parameter 1)
{standard input}:64:Parameter syntax error (parameter 1)
{standard input}:65:Parameter syntax error (parameter 1)
{standard input}:67:Parameter syntax error (parameter 2)
{standard input}:68:Parameter syntax error (parameter 1)
{standard input}:69:Parameter syntax error (parameter 1)
{standard input}:70:Parameter syntax error (parameter 1)
{standard input}:71:Parameter syntax error (parameter 1)
{standard input}:72:Parameter syntax error (parameter 1)
{standard input}:73:Parameter syntax error (parameter 1)
{standard input}:74:Parameter syntax error (parameter 1)
{standard input}:75:Parameter syntax error (parameter 1)
{standard input}:76:Parameter syntax error (parameter 1)
{standard input}:77:Parameter syntax error (parameter 1)
{standard input}:78:Parameter syntax error (parameter 1)
{standard input}:79:Parameter syntax error (parameter 1)
{standard input}:80:Parameter syntax error (parameter 1)
{standard input}:81:Parameter syntax error (parameter 1)
{standard input}:82:Parameter syntax error (parameter 1)
{standard input}:83:Parameter syntax error (parameter 1)
{standard input}:84:Parameter syntax error (parameter 1)
{standard input}:85:Parameter syntax error (parameter 1)
{standard input}:86:Parameter syntax error (parameter 1)
{standard input}:87:Parameter syntax error (parameter 1)
{standard input}:88:Parameter syntax error (parameter 1)
{standard input}:89:Parameter syntax error (parameter 1)
{standard input}:90:Parameter syntax error (parameter 1)
{standard input}:91:Parameter syntax error (parameter 2)
lipo: can't open input file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/.tmp/cc3DtlB3.out (No such file or directory)
make[3]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src/lib/Target/PowerPC/Release+Debug+Asserts/PPCJITInfo.o] Error 1
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src/lib/Target/PowerPC'
make[2]: *** [PowerPC/.makeall] Error 2
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src/lib/Target'
make[1]: *** [Target/.makeall] Error 2
make[1]: *** Waiting for unfinished jobs....

Attachments (1)

main.log.gz (38.2 KB) - added by carl.shapiro@… 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by carl.shapiro@…

Attachment: main.log.gz added

comment:1 Changed 11 years ago by carl.shapiro@…

Cc: carl.shapiro@… added

Cc Me!

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: carl.shapiro@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to jeremyhu@…

Please remember to use WikiFormatting and to Cc the maintainer of the port. There is no need to Cc yourself when you are the reporter.

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

Resolution: wontfix
Status: newclosed

There's not really much to go on here. It works fine for intel builds. ppc support is very weak in llvm (but getting better). I suggest you try llvm-3.5 and file issues upstream at llvm.org/bugs

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

Specifically, this is likely a bug with ppc64 which is even less well supported than ppc.

comment:5 in reply to:  1 Changed 3 years ago by barracuda156

Replying to carl.shapiro@…:

Cc Me!

Have you been able to make it through?

comment:6 in reply to:  3 Changed 3 years ago by barracuda156

Replying to jeremyhu:

There's not really much to go on here. It works fine for intel builds. ppc support is very weak in llvm (but getting better). I suggest you try llvm-3.5 and file issues upstream at llvm.org/bugs

Can llvm-3.5 be built without earlier llvm already installed?

As of now, this llvm problem blocks ppc64 set up of Macports (since the linker needs llvm).

Note: See TracTickets for help on using tickets.