* [gentoo-dev] gcc-3.0.2-based system
@ 2001-11-02 12:33 Grant Goodyear
2001-11-02 13:11 ` Grant Goodyear
0 siblings, 1 reply; 4+ messages in thread
From: Grant Goodyear @ 2001-11-02 12:33 UTC (permalink / raw
To: gentoo-dev
I'm currently in the middle of "emerge system" with my new gcc-3.0.2-
based system, and so far I haven't encountered any problems.
Here's what I did to bootstrap w/ gcc 3.0.2:
1. Remove the ">=gcc-3.26" line from package.mask.
2. Update the gcc and binutils lines in /etc/make.profile/packages:
*>=sys-apps/baselayout-1.6.4
*>=sys-apps/portage-1.6.10
*=sys-devel/binutils-2.11.90.0.7
*=sys-devel/gcc-2.95.3-r5
*=sys-libs/glibc-2.2.4-r2
>=sys-apps/sysklogd-1.4-r6
3. Update the gcc and binutils lines in /usr/portage/files/boot*:
>=sys-apps/baselayout-1.6.4
>=sys-apps/portage-1.6.6
=sys-libs/glibc-2.2.4-r2
=sys-devel/binutils-2.11.90.0.7
=sys-devel/gcc-2.95.3-r5
=sys-devel/gettext-0.10.39-r1
(In the future I think this file should just have the names of the packages,
with the versions obtained from /etc/make.profile/packages. Incidentally,
the bootstrap.sh script parses the file for texinfo, which, of course,
isn't there.)
4. Edit the glibc-2.2.4-r2 ebuild to add a "--disable-sanity-checks" option
to configure:
try ../configure --host=${CHOST} --without-cvs \
--enable-add-ons=linuxthreads \
--disable-profile --prefix=/usr \
--mandir=/usr/share/man --infodir=/usr/share/info \
--disable-sanity-checks ${myconf}
If other people would test this, I would be grateful!
-g2boojum-
--
___________________________________________________________________
| Grant Goodyear | The Secrets of Physics: |
| Dept. of Chemistry - Clemson U |1. Add zero. |
| Clemson, SC 29634 |2. Multiply by one. |
|-------------------------------------|3. Expand in a Taylor series|
|e-mail: goodyea@clemson.edu |4. Integrate by parts. |
|www:bernacchi.chem.uh.edu/~grant |5. Fourier transform. |
| |6. Add auxiliary variables |
|_____________________________________|____________________________|
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] gcc-3.0.2-based system
2001-11-02 12:33 [gentoo-dev] gcc-3.0.2-based system Grant Goodyear
@ 2001-11-02 13:11 ` Grant Goodyear
2001-11-02 13:33 ` Daniel Robbins
0 siblings, 1 reply; 4+ messages in thread
From: Grant Goodyear @ 2001-11-02 13:11 UTC (permalink / raw
To: gentoo-dev
Hmmm, gcc 3+ is more standards-compliant.
Ex:
#include <iostream>
int main() {
cout << "Hello, World!" << endl;
}
won't compile (cout and endl not found), although it will
with
std::cout << "Hello, World!" << std::endl;
I also found that netkit-telnetd-0.17 seems to be broken under
the latest gcc/glibc. For some reason the older gcc/glibc
combination managed to find exit(), memcpy(), and various
string functions without <stdlib.h>, <memory.h>, and <string.h>
being included. The appropriate patch is certainly simple enough!
This could be an adventure. . ..
-g2boojum-
--
___________________________________________________________________
| Grant Goodyear | The Secrets of Physics: |
| Dept. of Chemistry - Clemson U |1. Add zero. |
| Clemson, SC 29634 |2. Multiply by one. |
|-------------------------------------|3. Expand in a Taylor series|
|e-mail: goodyea@clemson.edu |4. Integrate by parts. |
|www:bernacchi.chem.uh.edu/~grant |5. Fourier transform. |
| |6. Add auxiliary variables |
|_____________________________________|____________________________|
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] gcc-3.0.2-based system
2001-11-02 13:11 ` Grant Goodyear
@ 2001-11-02 13:33 ` Daniel Robbins
2001-11-02 14:29 ` AW: " Sebastian Werner
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Robbins @ 2001-11-02 13:33 UTC (permalink / raw
To: gentoo-dev
On Fri, Nov 02, 2001 at 03:09:52PM -0500, Grant Goodyear wrote:
> I also found that netkit-telnetd-0.17 seems to be broken under
> the latest gcc/glibc. For some reason the older gcc/glibc
> combination managed to find exit(), memcpy(), and various
> string functions without <stdlib.h>, <memory.h>, and <string.h>
> being included. The appropriate patch is certainly simple enough!
> This could be an adventure. . ..
Let the adventure begin! This is something we need to do.
Best Regards,
--
Daniel Robbins <drobbins@gentoo.org>
Chief Architect/President http://www.gentoo.org
Gentoo Technologies, Inc.
^ permalink raw reply [flat|nested] 4+ messages in thread
* AW: [gentoo-dev] gcc-3.0.2-based system
2001-11-02 13:33 ` Daniel Robbins
@ 2001-11-02 14:29 ` Sebastian Werner
0 siblings, 0 replies; 4+ messages in thread
From: Sebastian Werner @ 2001-11-02 14:29 UTC (permalink / raw
To: gentoo-dev
Hey,
I have tried some time ago to build gentoo based on gcc-3.0.1 after this
I use a cvs-gcc 7 days before gcc-3.0.2. released. I use glibc-2.2.4. As
you descripe net-telnetd don't work. Some especially c++ programs make
problems:
For example: mysql-3.x, don't know - forgot it.
Also I have problems to use the flash-plugin for linux. I think this
lies on the glibc which wasn't build binary compatible
(--disable-sanity-checks) with previous.
I have no trouble to build the kde-packages. ;-) They work all, but the
enabled objprelink could not find any optimizations.
Sebastian
-----Ursprüngliche Nachricht-----
Von: gentoo-dev-admin@cvs.gentoo.org
[mailto:gentoo-dev-admin@cvs.gentoo.org] Im Auftrag von Daniel Robbins
Gesendet: Freitag, 2. November 2001 21:32
An: gentoo-dev@cvs.gentoo.org
Betreff: Re: [gentoo-dev] gcc-3.0.2-based system
On Fri, Nov 02, 2001 at 03:09:52PM -0500, Grant Goodyear wrote:
> I also found that netkit-telnetd-0.17 seems to be broken under
> the latest gcc/glibc. For some reason the older gcc/glibc
> combination managed to find exit(), memcpy(), and various
> string functions without <stdlib.h>, <memory.h>, and <string.h>
> being included. The appropriate patch is certainly simple enough!
> This could be an adventure. . ..
Let the adventure begin! This is something we need to do.
Best Regards,
--
Daniel Robbins <drobbins@gentoo.org>
Chief Architect/President http://www.gentoo.org
Gentoo Technologies, Inc.
_______________________________________________
gentoo-dev mailing list
gentoo-dev@cvs.gentoo.org
http://cvs.gentoo.org/mailman/listinfo/gentoo-dev
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-11-02 21:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-02 12:33 [gentoo-dev] gcc-3.0.2-based system Grant Goodyear
2001-11-02 13:11 ` Grant Goodyear
2001-11-02 13:33 ` Daniel Robbins
2001-11-02 14:29 ` AW: " Sebastian Werner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox