Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 770133 - gcc-10 fails to compile on Mac OS prefix: ld: library not found for -ldylib1.o
Summary: gcc-10 fails to compile on Mac OS prefix: ld: library not found for -ldylib1.o
Status: RESOLVED DUPLICATE of bug 767415
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-11 22:34 UTC by Göktürk Yüksek
Modified: 2021-02-12 07:04 UTC (History)
0 users

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


Attachments
gcc-build-lots.tar.bz2 (gcc-build-logs.tar.bz2,122.38 KB, application/x-bzip2)
2021-02-11 22:34 UTC, Göktürk Yüksek
Details
Build log (build.log.bz2,46.81 KB, application/x-bzip2)
2021-02-11 22:45 UTC, Göktürk Yüksek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Göktürk Yüksek archtester gentoo-dev 2021-02-11 22:34:13 UTC
Created attachment 686370 [details]
gcc-build-lots.tar.bz2

A rebuild of gcc-10 by bootstrap-prefix.sh after stage3 when it attempts to emptytree @system (code block at line 2919) fails with:

  ld: library not found for -ldylib1.o
  collect2: error: ld returned 1 exit status

Since this was a rebuild past stage3, I worked around it by passing '--exclude sys-devel/gcc'. The rebuild enables two extra USE flags: fortran, nls. I'll see if I can disable fortran and successfully build gcc. The logs are attached.
Comment 1 Göktürk Yüksek archtester gentoo-dev 2021-02-11 22:45:41 UTC
Created attachment 686373 [details]
Build log
Comment 2 Fabian Groffen gentoo-dev 2021-02-12 07:04:34 UTC

*** This bug has been marked as a duplicate of bug 767415 ***