pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/gcc10 failed to compile on SunOS

* On 2021-01-19 at 03:52 GMT, Hung Nguyen Gia wrote:

> There is no error message printed on the screen. It just silently
> fail after have going for more than 2 hours. I have no idea.

It's a known failure.  You can see the full log here:

The error being:

  ../../../../gcc-10.2.0/libsanitizer/sanitizer_common/sanitizer_linux.cpp:903:63: error: 'O_DIRECTORY' was not declared in this scope

Given the heavily threaded nature of the GCC build it can be difficult
to find the actual error as so many other builds will be happening at
the same time.

The fix would be to apply a similar patch to this:

Generally on SunOS systems we use the illumos GCC tree, as it has a
large number of patches that have not yet been (or will never be)
upstreamed to mainline GCC.

Jonathan Perkin  -  Joyent, Inc.  -

Home | Main Index | Thread Index | Old Index