Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Nov 2023 19:21:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 273753] [exp-run] Against llvm-17-update branch on GitHub
Message-ID:  <bug-273753-7788-RrsxwvBuCK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273753-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273753-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273753

--- Comment #84 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=3Da864243fb7ae1932341fce17598cfc5=
88150156d

commit a864243fb7ae1932341fce17598cfc588150156d
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-11-25 19:15:54 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-11-25 19:21:34 +0000

    sysutils/opensbi: fix build with clang 17

    Building sysutils/opensbi with clang 17 results in the following errors:

      clang: error: unsupported option '-mno-unaligned-access' for target
'riscv64-unknown-elf'
      clang: error: unsupported option '-mno-unaligned-access' for target
'riscv64-unknown-elf'
      [... many more times...]

    The target-specific option -mno-unaligned-access (which is emitted from
    the compiler driver when -mstrict-align is used) did not do anything for
    riscv64, but clang 17 is now more strict about reporting unsupported
    options. Remove the -mstrict-align option from the Makefile's CFLAGS and
    ASFLAGS to fix it.

    PR:             273753
    MFH:            2023Q4

 sysutils/opensbi/files/patch-Makefile (new) | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273753-7788-RrsxwvBuCK>