Opened 13 years ago

Closed 13 years ago

#30306 closed defect (duplicate)

GCC 4.5 fails on Lion

Reported by: ith140@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.0.0
Keywords: lion Cc: stromnov (Andrey Stromnov), kwasir@…, cdeil (Christoph Deil), maehne (Torsten Maehne), ryandesign (Ryan Carsten Schmidt)
Port: gcc45

Description

GCC4.5 fails to build on clean install of Lion. I attempted to build atlas +gcc45 on a completely clean system.

Attachments (1)

main.log (14.9 MB) - added by ith140@… 13 years ago.
Main log file from build of gcc45

Change History (15)

Changed 13 years ago by ith140@…

Attachment: main.log added

Main log file from build of gcc45

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Keywords: lion added
Owner: changed from macports-tickets@… to mww@…

Please remember to cc the maintainer.

comment:2 Changed 13 years ago by ith140@…

Thanks, my first post and new to the system....

comment:3 in reply to:  1 Changed 13 years ago by ith140@…

Replying to jmr@…:

Please remember to cc the maintainer.

I've had the same problem building atlas on lion seems to be ticket #30280, but this is not listed on the Lion issues page (no keyword in bug). Can you help add this to list?

comment:4 Changed 13 years ago by stromnov (Andrey Stromnov)

In my case problem was with one of gmp, mpfr or libmpc ports. Try to rebuild those ports with clang, instead of llvm-gcc42.

comment:5 Changed 13 years ago by stromnov (Andrey Stromnov)

Cc: stromnov@… added

Cc Me!

comment:6 Changed 13 years ago by kwasir@…

Cc: kwasir@… added

Cc Me!

comment:7 Changed 13 years ago by cdeil (Christoph Deil)

Cc: Deil.Christoph@… added

Cc Me!

comment:8 in reply to:  4 Changed 13 years ago by bradskins@…

Replying to stromnov@…:

In my case problem was with one of gmp, mpfr or libmpc ports. Try to rebuild those ports with clang, instead of llvm-gcc42.

Confirmed. Rebuilding all three with Clang (not -O4 or -flto) allows 4.5.3_0 to compile properly. See

http://comments.gmane.org/gmane.comp.lib.mpfr.general/1358

comment:9 Changed 13 years ago by maehne (Torsten Maehne)

Cc: Torsten.Maehne@… added

Cc Me!

comment:10 Changed 13 years ago by theorikbn@…

Cc: theorikbn@… added

Cc Me!

comment:11 Changed 13 years ago by theorikbn@…

Cc: theorikbn@… removed

Cc Me!

comment:12 Changed 13 years ago by theorikbn@…

Cc: theorikbn@… added

Cc Me!

comment:13 Changed 13 years ago by theorikbn@…

Cc: theorikbn@… removed

Cc Me!

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

Cc: ryandesign@… added
Resolution: duplicate
Status: newclosed

The gcc4* ports build with clang instead of llvm-gcc-4.2 (#29104)

gmp builds with clang or gcc-4.2 instead of llvm-gcc-4.2 (#30294)

mpfr built with clang instead of llvm-gcc-4.2 for awhile (#31604) but now allows clang again (#33361)

libmpc does not make any restrictions on what compiler it's compiled with.

Note: See TracTickets for help on using tickets.