Opened 14 years ago
Closed 13 years ago
#28195 closed defect (worksforme)
gcc44: build failure, gcj ICE building libjava
Reported by: | hsinlun.kuo@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ||
Port: | gcc44 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I've been trying to install miriad with macports. But it always stopped at building gcc44. Here is the error message:
Error: Target org.macports.build returned: shell command failed (see log for details) Log for gcc44 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/main.log Error: Status 1 encountered during processing.
I've tried to clean and install gcc44 separately and no luck there. I'm currently using Snow Leopard (Mac OS X 10.6.6) and Xcode 3.2. I also attach the log file. Could anyone please help me?
Attachments (2)
Change History (8)
Changed 14 years ago by hsinlun.kuo@…
Attachment: | partial.log added |
---|
comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | gcc44 removed |
Owner: | changed from macports-tickets@… to mww@… |
comment:2 follow-up: 3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
The log says:
Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.
So you may want to do that.
comment:3 Changed 14 years ago by hsinlun.kuo@…
I have attached the entire log. Please, anybody know how to fix this?
Replying to ryandesign@…:
The log says:
Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.So you may want to do that.
comment:4 Changed 14 years ago by hsinlun.kuo@…
I moved /opt/local/ to /opt/local.sav and was finally able to build gcc44. Thanks.
comment:5 Changed 14 years ago by mhlambert@…
My problem was that the system libiconv was being used. This patch corrected that issue:
% diff -u Portfile.sav Portfile --- Portfile.sav 2010-10-05 16:00:56.000000000 -0400 +++ Portfile 2011-02-06 23:28:19.000000000 -0500 @@ -84,6 +84,7 @@ --with-gxx-include-dir=${prefix}/include/${name}/c++/ \ --with-gmp=${prefix} \ --with-mpfr=${prefix} \ + --with-libiconv-prefix=${prefix} \ --enable-stage1-checking \ --disable-multilib # do NOT use MacPorts binutils -- they do not work
comment:6 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Summary: | gcc44 failed to build → gcc44: build failure, gcj ICE building libjava |
Closing given comment:4 and the fact that I can't reproduce (and the port has been updated to 4.4.6 in the meantime as well).
last part of the main log for building gcc44