Opened 14 years ago

Closed 13 years ago

#29154 closed enhancement (fixed)

support building dragonegg in gcc45

Reported by: howarth@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: lang Cc:
Port: gcc45

Description

Currently the MacPorts gcc45 doesn't provide all of the headers required to build the dragonegg plugin. This defect is known to upstream...

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43748

The attached packaging solves this issue by manually copying the file on i386/x86_64 darwin. Note that plugin support doesn't exist upstream for powerpc darwin nor does dragonegg support powerpc on any target.

The i386_static.diff from the gcc-patches directory in dragonegg is applied in this Portfile as well as a patch recently added for gcc 4.5.3 for dragonegg stability...

http://gcc.gnu.org/ml/gcc-patches/2011-04/msg00682.html

Attachments (3)

dragonegg-fix2.diff (426 bytes) - added by howarth@… 14 years ago.
upstream dragon egg related fix from gcc-4_5-branch
Portfile.diff (1.4 KB) - added by howarth@… 14 years ago.
update Portfile diff for gcc45 4.5.3
i386_static.diff (1.4 KB) - added by howarth@… 14 years ago.
i386_static.diff patch required to build dragonegg

Download all attachments as: .zip

Change History (8)

Changed 14 years ago by howarth@…

Attachment: dragonegg-fix2.diff added

upstream dragon egg related fix from gcc-4_5-branch

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

Owner: changed from macports-tickets@… to mww@…

Please remember to cc the maintainer.

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

Your patch also includes a platform darwin 11 section. Is this related to this problem?

comment:3 in reply to:  2 Changed 14 years ago by howarth@…

Replying to ryandesign@…:

Your patch also includes a platform darwin 11 section. Is this related to this problem?

This is a workaround for http://llvm.org/bugs/show_bug.cgi?id=9571. It would be helpful to leave it in order to encourage wider testing of MacPorts (and thus llvm-gcc) under Lion (by eliminating gcc45 as a blocker in that process).

Changed 14 years ago by howarth@…

Attachment: Portfile.diff added

update Portfile diff for gcc45 4.5.3

Changed 14 years ago by howarth@…

Attachment: i386_static.diff added

i386_static.diff patch required to build dragonegg

comment:4 Changed 14 years ago by howarth@…

The gcc45 4.5.3 package was released without addressing this ticket. I have updated the Portfile.diff
for gcc45-4.5.3-1 to reflect the fact that only the i386-static.diff patch from dragonegg 2.9 is required
for gcc 4.5.3. Also note that the section for darwin11 is present to 1) insure --enable-fully-dynamic-string
is used there and 2) work around the inability of Apple's llvm-gcc to build FSF gcc (which is a problem that
clang doesn't share).

ps Note that I have already gotten a dragonegg-gcc45 package into fink so MacPorts is lagging behind on this issue.

comment:5 Changed 13 years ago by Veence (Vincent)

Resolution: fixed
Status: newclosed

I have added a llvm-devel and dragonegg-devel ports that should work, given that the patch in #30542 is applied to the gcc45 Portfile.

Note: See TracTickets for help on using tickets.