From: Marc Giger <gigerstyle@gmx.ch>
To: gentoo-alpha@lists.gentoo.org
Subject: Re: [gentoo-alpha] glibc-2.3.2-decc-compaq.patch
Date: Sat, 7 Feb 2004 10:54:41 +0100 [thread overview]
Message-ID: <20040207105441.2e36fb33.gigerstyle@gmx.ch> (raw)
In-Reply-To: <20040207022634.GB20928@time>
On Fri, 6 Feb 2004 21:26:34 -0500
Aron Griffis <agriffis@gentoo.org> wrote:
> Marc Giger wrote: [Fri Feb 06 2004, 02:14:11PM EST]
> > Yeah, it looks like:-) but I was wrong... I removed this check and
> > ran into troubles. The Macro __GLIBC_HAVE_LONG_LONG must not be
> > defined with ccc.
>
> But why not? I thought your earlier logic made sense.
The following output shows the problems if __GLIBC_HAVE_LONG_LONG is
defined:
make: *** [Parser/acceler.o] Error 1
make: *** Waiting for unfinished jobs....
cc: Error: /usr/include/sys/types.h, line 167: In this declaration,
"int64_t" has no linkage and has a prior declaration in this scope at
line number 27 in file
/usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/include/sys/types.h.
(nolinkage)__extension__ typedef long long int int64_t;
------------------------------------^
cc: Error: /usr/include/sys/types.h, line 176: In this declaration,
"u_int64_t" has no linkage and has a prior declaration in this scope at
line number 28 in file
/usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/include/sys/types.h.
(nolinkage)__extension__ typedef unsigned long long int u_int64_t;
---------------------------------------------^
make: *** [Modules/python.o] Error 1
Do you know how to solve it if __GLIBC_HAVE_LONG_LONG is defined?
>
> > So this check is totally ok! It has nothing to do with
> > "long long". Sorry... I was searching for the reason why I couldn't
> > compile python with ccc.
> > After some time I found it! The attached patch solves the problem.
> > Now I'm running python 2.3 compiled with ccc:-)
>
> I understand what the patch is doing, but I don't understand why
> defining __GLIBC_HAVE_LONG_LONG wouldn't be a better solution?
See above. I forgot to mention that it is a fix for python only and I
don't know if it should be included in the glibc. I think for other
packages to compile it would need a similar fix in other places, too.
And- so we end nowhere just because we try to solve ccc problems...
This patch was ment to demonstrate only.
>
> > This seems not to be the right place neither. I think this is
> > useless anyway. The right place to fix it is in
> > "create-comp-config.sh". I tried to change it but it seems that a
> > shell-script and regex guru is needed;-) The same should be changed
> > by cxx (preventing).
>
> Okay, I think I fixed it. Try out ccc-6.5.9.001-r1.ebuild when it
> arrives at your nearest mirror... Let me know what you think.
Cool! I will try it. Thank you!
>
> > With these two fixes, I'm able to compile a lot more packages with
> > the compaq compiler.
>
> I'd like to be more certain about the sysmacros.h fix before putting
> it in since it modifies glibc. It seems like if that fix is needed
> then other header files would need a similar fix!
greets
Marc
--
gentoo-alpha@gentoo.org mailing list
prev parent reply other threads:[~2004-02-07 9:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-04 23:13 [gentoo-alpha] glibc-2.3.2-decc-compaq.patch Marc Giger
2004-02-06 3:55 ` Aron Griffis
2004-02-06 19:14 ` Marc Giger
2004-02-07 0:40 ` Aron Griffis
2004-02-07 12:09 ` Marc Giger
2004-02-08 5:37 ` Aron Griffis
2004-02-08 10:14 ` Marc Giger
2004-02-08 16:02 ` Aron Griffis
2004-02-08 16:21 ` Marc Giger
2004-02-07 2:26 ` Aron Griffis
2004-02-07 9:54 ` Marc Giger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040207105441.2e36fb33.gigerstyle@gmx.ch \
--to=gigerstyle@gmx.ch \
--cc=gentoo-alpha@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox