Gentoo Archives: gentoo-alt

From: Leho Kraav <leho@×××××.com>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] Existing prefix, new host, need to rebootstrap gcc - how?
Date: Thu, 21 May 2015 06:37:35
Message-Id: 555D7D29.9050702@kraav.com
1 Upgraded CentOS on hosting and some builds fail now due to glibc change.
2
3 In file included from
4 /home/markitek/prefix/var/tmp/portage/sys-devel/binutils-2.24-r2/work/binutils-2.24/libiberty/floatformat.c:31:0:
5 /usr/include/string.h:548:5: error: unknown type name ‘__locale_t’
6 /usr/include/string.h:552:18: error: unknown type name ‘__locale_t’
7 yes
8 checking whether strstr is declared... make[2]: *** [floatformat.o] Error 1
9
10
11 All good and natural side-effect of migrating. But is there a way for me
12 to somehow rebootstrap prefix gcc with the new native gcc/glibc. Not
13 feeling like re-doing the whole prefix setup from scratch.