Gentoo Archives: gentoo-amd64

From: Peter Humphrey <prh@××××××××××.uk>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Another package that doesn't like GCC 4
Date: Thu, 23 Nov 2006 11:42:42
Message-Id: 200611231139.36213.prh@gotadsl.co.uk
In Reply to: [gentoo-amd64] Another package that doesn't like GCC 4 by Peter Humphrey
1 On Wednesday 22 November 2006 16:28, I wrote:
2
3 > So now I suppose I have a lot of CFLAGS to juggle to find out which one
4 > hurts gnupg so that I can report it.
5
6 It didn't take too long after all. I found that omitting, or
7 removing, -fmerge-all-constants from CFLAGS enabled gnupg to compile
8 with -ldap. I don't think gnupg uses C++ so I didn't play with CXXFLAGS.
9
10 # grep FLAGS /etc/make.conf
11 CFLAGS="-march=k8 -Os -pipe -frename-registers -fweb -freorder-blocks \
12 -freorder-blocks-and-partition -combine -funit-at-a-time \
13 -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants"
14 CXXFLAGS="-march=k8 -Os -pipe -frename-registers -fweb -freorder-blocks \
15 -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants"
16
17 #cat /etc/portage/env/app-crypt/gnupg
18 CFLAGS=${CFLAGS//-fmerge-all-constants}
19
20 I haven't decided whether it's worth reporting a bug; perhaps it's enough
21 that people here know what's needed.
22
23 --
24 Rgds
25 Peter
26 --
27 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] Another package that doesn't like GCC 4 Jan Jitse Venselaar <janjitse@×××××.com>