Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278856 - About mail-client/evolution hppa specifics
Summary: About mail-client/evolution hppa specifics
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High QA (vote)
Assignee: HPPA Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-23 18:24 UTC by Gilles Dartiguelongue (RETIRED)
Modified: 2009-08-26 01:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-07-23 18:24:24 UTC
Hello hppa,

the following snippet from evolution ebuild makes me wonder if this should not be done via functions from flag-o-matic eclass and if it is even relevant at all nowadays. Thanks in advance for your lights on the situation.

    # Bug #?
    if [ "${ARCH}" = "hppa" ]; then
        append-flags "-fPIC -ffunction-sections"
        # bad bad bad, what about user settings !!!
        export LDFLAGS="-ffunction-sections -Wl,--stub-group-size=25000"
    fi
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-08-08 15:17:51 UTC
Never seen that before. When did it get introduced?
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-08-08 20:55:09 UTC
It's in since at least evolution-1.4.3 rev 1.3

http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/evolution/evolution-1.4.3.ebuild?hideattic=0&rev=1.9&view=log

> Revision 1.3  - (view) (download) (annotate) - [select for diffs]
> Tue Aug 5 09:03:04 2003 UTC (6 years ago) by gmsoft
> Branch: MAIN
> Changes since 1.2: +7 -2 lines
> Diff to previous 1.2
>
> Added hppa to KEYWORDS. Added some flags for hppa to make it compile.

I thought you would have known this but seeing how old this changed is... Anyway, could you possibly test if these changes are still needed nowadays ?
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2009-08-25 15:18:19 UTC
(In reply to comment #2)
> > Revision 1.3  - (view) (download) (annotate) - [select for diffs]
> > Tue Aug 5 09:03:04 2003 UTC (6 years ago) by gmsoft
> > Branch: MAIN
> > Changes since 1.2: +7 -2 lines
> > Diff to previous 1.2
> >
> > Added hppa to KEYWORDS. Added some flags for hppa to make it compile.

Back then Gentoo didn't discourage hacks like these as actively as it's done these days. A configure patch would be more appropriate now, but I will test to see if perhaps a current compiler recognises and fixes the issue without additional compiler flags.

> I thought you would have known this but seeing how old this changed is...
> Anyway, could you possibly test if these changes are still needed nowadays ?

Working on it.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2009-08-26 01:17:42 UTC
Runs fine without those, so I've removed them from all ebuilds.

You may still want to look at this bit right above it, though:

        # problems with -O3 on gcc-3.3.1
        replace-flags -O3 -O2


;-)