[Bug 274627] lang/gcc11: D compiler spits character 0xa5 is not a valid token Outside Unicode code space

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 21 Oct 2023 12:56:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274627

            Bug ID: 274627
           Summary: lang/gcc11: D compiler spits character 0xa5 is not a
                    valid token Outside Unicode code space
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: salvadore@freebsd.org
          Reporter: arrowd@FreeBSD.org
             Flags: maintainer-feedback?(salvadore@freebsd.org)
          Assignee: salvadore@freebsd.org

Running

echo a | /usr/local/libexec/gcc11/gcc/x86_64-portbld-freebsd15.0/11.3.0/d21 -
-quiet -dumpdir a- -dumpbase - -mtune=generic -march=x86-64 -version
-fsyntax-only -o /dev/null -v 1>/dev/null

produces a ton of 

<stdin>:2: error: Outside Unicode code space
<stdin>:2: error: character 0xa5 is not a valid token

errors. The lang/ldc fails due that because it runs

echo "pragma(msg, int(__VERSION__));" | gdmd - -o-

and takes "<stdin>" part as output.

The problem can be seed on CURRENT and probably 14.0, but not on 13.2.

-- 
You are receiving this mail because:
You are the assignee for the bug.