Compile of gcc 9.2.0 fails

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Compile of gcc 9.2.0 fails

Michael LeVine
attmpting to build gcc 9.2.0
Macosx 10.15 most current update
Xcode.11.1 command line tools

Build dies with message

The directory that should contain system headers does not exist:
  /usr/include
make[3]: *** [stmp-fixinc] Error 1
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2


THe system include files have been moved and no longer exist in that hard coded location,
instead I found them here

/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include



Michael LeVine
[hidden email]

Politics is the art of looking for trouble,
finding it everywhere,
diagnosing it incorrectly,
and applying the wrong remedies.
                Groucho Marx

Reply | Threaded
Open this post in threaded view
|

Re: Compile of gcc 9.2.0 fails

Bob Wilkinson
On Thu, Oct 17, 2019 at 12:49:06AM -0700, Michael LeVine wrote:

> attmpting to build gcc 9.2.0
> Macosx 10.15 most current update
> Xcode.11.1 command line tools
>
> Build dies with message
>
> The directory that should contain system headers does not exist:
>   /usr/include
> make[3]: *** [stmp-fixinc] Error 1
> make[2]: *** [all-stage1-gcc] Error 2
> make[1]: *** [stage1-bubble] Error 2
> make: *** [all] Error 2
>
>
> THe system include files have been moved and no longer exist in that hard coded location,
> instead I found them here
>
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include

1. Can you put the system include files back to where they were? or
2. Can you make symlinks in MacOS so that the files are available at
/usr/include?

Bob
--
"We are in the beginning of a mass extinction, and all you can talk
about is money and fairy tales of eternal economic growth."
  - Greta Thunberg
Reply | Threaded
Open this post in threaded view
|

Re: Compile of gcc 9.2.0 fails

Jonathan Wakely-4
In reply to this post by Michael LeVine
On Thu, 17 Oct 2019 at 08:49, Michael LeVine <[hidden email]> wrote:

>
> attmpting to build gcc 9.2.0
> Macosx 10.15 most current update
> Xcode.11.1 command line tools
>
> Build dies with message
>
> The directory that should contain system headers does not exist:
>   /usr/include
> make[3]: *** [stmp-fixinc] Error 1
> make[2]: *** [all-stage1-gcc] Error 2
> make[1]: *** [stage1-bubble] Error 2
> make: *** [all] Error 2
>
>
> THe system include files have been moved and no longer exist in that hard coded location,
> instead I found them here
>
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90834 (and other bugs
for OS X 10.15 issues).