Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #9054 (closed defect: fixed)

Opened 3 years ago

Last modified 22 months ago

BUG: gcc41 does not build on Intel Macs

Reported by: Li.Cheng@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: lupin.wp@…
Port:

Description (last modified by mww@…) (diff)

When I try to buildl gcc41 on an Intel Mac I get the following error. I have a log file with the debug and verbose flags set if you would like.

/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc41/work/build/./gcc/xgcc -B/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc41/work/build/./gcc/ -B/opt/local/i386-apple-darwin8.6.1/bin/ -B/opt/local/i386-apple-darwin8.6.1/lib/ -isystem /opt/local/i386-apple-darwin8.6.1/include -isystem /opt/local/i386-apple-darwin8.6.1/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc-4.1.0/libgfortran -I. -iquote../../../gcc-4.1.0/libgfortran/io -I../../../gcc-4.1.0/libgfortran/../gcc -I../../../gcc-4.1.0/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -O2 -c ../../../gcc-4.1.0/libgfortran/runtime/compile_options.c -o compile_options.o >/dev/null 2>&1 make[4]: *** [compile_options.lo] Error 1 make[3]: *** [all] Error 2 make[2]: *** [all-target-libgfortran] Error 2 make[1]: *** [all] Error 2 make: *** [profiledbootstrap] Error 2

Attachments

log.txt.bz2 (65.4 KB) - added by Li.Cheng@… 3 years ago.
log with debug and verbose flags set

Change History

Changed 3 years ago by Li.Cheng@…

log with debug and verbose flags set

Changed 3 years ago by m@…

So you know, it looks like gcc42 builds OK, so this might help find a fix and if you need gfortran like I do, this provides a way to get it.

Changed 3 years ago by markd@…

  • cc lupin.wp@… added

*** Bug 8411 has been marked as a duplicate of this bug. ***

Changed 3 years ago by mww@…

  • owner changed from darwinports-bugs@… to mww@…
  • severity changed from major to normal
  • summary changed from gcc41 does not build on Intel Macs to BUG: gcc41 does not build on Intel Macs

does version 4.1.1 work?

Changed 3 years ago by m@…

(In reply to comment #4)

does version 4.1.1 work?

No.

Changed 2 years ago by billherschel@…

FWIW, I had the same problem trying to build py-numpy on an intel mac. gcc41 appeared to fail at the same spot as in the attached log (I think I have a log if anyone's interested). I tried using gcc42 as suggested in bug 9101 and it seems to have worked.

If anyone has any suggestions for gcc41 I'd be willing to try it on my machine, I'm afraid I'm a bit over my head so you'd have to be pretty explicit in telling me what to do. Thanks for all the hard work!

Changed 22 months ago by mww@…

  • status changed from new to closed
  • resolution set to fixed
  • description modified (diff)

please re-open if problem persists with the new version 4.1.2!

Note: See TracTickets for help on using tickets.