https://sourceware.org/bugzilla/show_bug.cgi?id=31320

            Bug ID: 31320
           Summary: binutils-2.42 build failure on macos - error:
                    'uchar.h' file not found
           Product: binutils
           Version: 2.42
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at gmail dot com
          Reporter: judge.packham+glibc at gmail dot com
                CC: ian at airs dot com
  Target Milestone: ---

Just updating crosstool-ng to the latest binutils and github's macOS makers
complained

Error:    
/Users/runner/work/crosstool-ng/crosstool-ng/.build/aarch64-unknown-linux-gnu/src/binutils/gold/output.cc:32:10:
fatal error: 'uchar.h' file not found

Full log is available at
https://github.com/crosstool-ng/crosstool-ng/actions/runs/7704312122/artifacts/1204824789

I don't personally do macOS but I'm guessing uchar.h is not available on that
platform (or at least the version of it used by github).

The uchar.h usage looks like a recent addition from commit 5e9091dab88 ("gold:
Use char16_t, char32_t instead of uint16_t, uint32_t as character types"), but
that appears to be addressing an issue with newer libc++ versions so I'm not
sure what the fix would be.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to