Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708974 - bootstrap-prefix.sh: configure: error: in `.../work/build/gold': configure: error: C++ preprocessor "/lib/cpp" fails sanity check
Summary: bootstrap-prefix.sh: configure: error: in `.../work/build/gold': configure: e...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-10 12:31 UTC by Xuewei
Modified: 2021-01-21 16:21 UTC (History)
0 users

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


Attachments
gentoo/tmp/var/tmp/portage/sys-devel/binutils-2.34/temp/build.log (build.log,448.28 KB, text/plain)
2020-02-10 12:31 UTC, Xuewei
Details
after disabling 'gold' USE (gcc-build-logs.tar.bz2,33.01 KB, application/x-bzip)
2020-02-12 01:43 UTC, Xuewei
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xuewei 2020-02-10 12:31:30 UTC
Created attachment 613178 [details]
gentoo/tmp/var/tmp/portage/sys-devel/binutils-2.34/temp/build.log

After ./bootstrap-prefix.sh, the problem always happened on Ubuntu 18.04.3LTS.
Comment 1 Benda Xu gentoo-dev 2020-02-11 00:28:30 UTC
Thank you.  I will try to reproduce this bug.  In the mean while, I suspect the newest binutils-2.34 caused this.  Could you please test with older versions of binutils?

Hint: `man portage` and look for package.mask.
Comment 2 Xuewei 2020-02-12 00:53:13 UTC
(In reply to Benda Xu from comment #1)
> Thank you.  I will try to reproduce this bug.  In the mean while, I suspect
> the newest binutils-2.34 caused this.  Could you please test with older
> versions of binutils?
> 
> Hint: `man portage` and look for package.mask.

Thank you for your reply. I try to change the version to 2.33 and 2.32, but it doesn't work. After disablling 'gold' USE of binutils, I realize that it work!
Comment 3 Xuewei 2020-02-12 01:43:21 UTC
Created attachment 613418 [details]
after disabling 'gold' USE
Comment 4 Xuewei 2020-02-12 01:49:15 UTC
Something similar happened to gcc.
Comment 5 Benda Xu gentoo-dev 2020-02-14 02:46:18 UTC
Hi, could you please try again?  Recently we have fixed a bug in binutils which might have caused this bug.

https://bugs.gentoo.org/708184
Comment 6 Xuewei 2020-02-14 11:39:23 UTC
(In reply to Benda Xu from comment #5)
> Hi, could you please try again?  Recently we have fixed a bug in binutils
> which might have caused this bug.
> 
> https://bugs.gentoo.org/708184

emmm, it doesn't seem to work.
Comment 7 Benda Xu gentoo-dev 2020-02-15 14:31:12 UTC
(In reply to 18800136075 from comment #6)
> (In reply to Benda Xu from comment #5)
> > Hi, could you please try again?  Recently we have fixed a bug in binutils
> > which might have caused this bug.
> > 
> > https://bugs.gentoo.org/708184
> 
> emmm, it doesn't seem to work.

Is the error the same as before?
Comment 8 Benda Xu gentoo-dev 2020-02-15 14:34:22 UTC
I tried the bootstrap on Ubuntu 18.04, and the error is like https://bugs.gentoo.org/708974
Comment 9 Xuewei 2020-02-16 03:42:15 UTC
(In reply to Benda Xu from comment #7)
> (In reply to 18800136075 from comment #6)
> > (In reply to Benda Xu from comment #5)
> > > Hi, could you please try again?  Recently we have fixed a bug in binutils
> > > which might have caused this bug.
> > > 
> > > https://bugs.gentoo.org/708184
> > 
> > emmm, it doesn't seem to work.
> 
> Is the error the same as before?

Yes.
Comment 10 Fabian Groffen gentoo-dev 2021-01-21 16:21:08 UTC
I finished bootstrap x86_64-rap-linux-ubuntu18.04 yesterday, and x86_64-pc-linux-ubuntu18.04 likely finishes today, haven't observed this problem.