#29184 closed update (fixed)
gcc46: update to 4.6.1
Reported by: | luis.beca@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | haspatch | Cc: | anatol (Anatol Pomozov), alexeiz@…, lukas.reichlin@…, mroman@…, jdswinbank (John Swinbank), jacobu@…, raimue (Rainer Müller), fleason (Fred Leason), m214089, rouson@…, bradskins@…, patnotz@… |
Port: | gcc46 |
Description
Please update gcc46 to the latest 4.6.0 release. Thanks
Attachments (3)
Change History (26)
comment:1 Changed 14 years ago by mww@…
comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mww@… removed |
---|---|
Owner: | changed from macports-tickets@… to mww@… |
Summary: | Update GCC4.6 beta → gcc46: update to 4.6.0 final |
He doesn't say he has created a patch. He's just saying the port should be updated.
comment:3 Changed 14 years ago by anatol (Anatol Pomozov)
I hope, you guys look at this issue before releasing 4.6: #28932
comment:6 Changed 13 years ago by alexeiz@…
The attached Portfile can be used to install gcc 4.6.1. I used it with a local macports repository and it worked fine. I removed fortran and java languages because there is still a problem building them together. Also, an additional file 'files/mp-gcc46' is required, which can be obtained from here: trunk/dports/lang/gcc46/files/mp-gcc46
comment:7 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch added |
---|---|
Summary: | gcc46: update to 4.6.0 final → gcc46: update to 4.6.1 |
Changed 13 years ago by raimue (Rainer Müller)
Attachment: | patch-gcc46-4.6.1.diff added |
---|
Changed 13 years ago by raimue (Rainer Müller)
Attachment: | main.log.bz2 added |
---|
comment:12 Changed 13 years ago by raimue (Rainer Müller)
Cc: | raimue@… added |
---|
Here is a patch. Unfortunately, it doesn't build for me on my system. I suppose this is a bug in ld(?).
... collect2: ld terminated with signal 6 [Abort trap: 6] ld(48432) malloc: *** error for object 0x1054f0840: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug make[3]: *** [libgfortran.la] Error 1
comment:13 Changed 13 years ago by raimue (Rainer Müller)
Sorry, I didn't notice that this issue exactly is already being tracked in #30166. But anyway, there is a patch now :-)
comment:14 Changed 13 years ago by Veence (Vincent)
I filed a radar for this ld bug. I have also stumbled on a ar/ranlib bug while compiling atlas, so it seems the whole toolchain is more or less buggy.
comment:21 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:22 Changed 13 years ago by fleason (Fred Leason)
I did the self update.
Then
06:27 AM ~ $ sudo port install gcc46 Portfile changed since last build; discarding previous state. <snip> ---> Building gcc46 Error: Target org.macports.build returned: shell command failed (see log for details) <snip> Error: Status 1 encountered during processing.
Last few lines from main.log
:info:build collect2: ld terminated with signal 6 [Abort trap: 6] :info:build ld(82721) malloc: *** error for object 0x1058bb840: pointer being freed was not allocated :info:build *** set a breakpoint in malloc_error_break to debug :info:build make[3]: *** [libgfortran.la] Error 1 :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc46/gcc46/work/build/x86_64-apple-darwin11/libgfortran' :info:build make[2]: *** [all] Error 2 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc46/gcc46/work/build/x86_64-apple-darwin11/libgfortran' :info:build make[1]: *** [all-target-libgfortran] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc46/gcc46/work/build' :info:build make: *** [bootstrap] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc46/gcc46/work/build' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc46/gcc46/work/build" && /usr/bin/make -j8 -w bootstrap " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for gcc46): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for gcc46 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc46/gcc46/main.log
If this is the same ld issue in #30166 then we don't even have the option to build without Fortran.
you forgot to attach your patch!