Page MenuHomeFreeBSD

amd64: try to fix the build with old clang that does not know about FRED
ClosedPublic

Authored by kib on Thu, Jul 30, 9:48 AM.
Tags
None
Referenced Files
F165334920: D58550.diff
Fri, Aug 7, 5:13 PM
F165316091: D58550.id183098.diff
Fri, Aug 7, 2:47 PM
F165316049: D58550.id183093.diff
Fri, Aug 7, 2:47 PM
F165307134: D58550.id183095.diff
Fri, Aug 7, 1:33 PM
F165289959: D58550.id.diff
Fri, Aug 7, 11:01 AM
F165253413: D58550.id183097.diff
Fri, Aug 7, 4:58 AM
F165239173: D58550.id183117.diff
Fri, Aug 7, 2:21 AM
Unknown Object (File)
Wed, Aug 5, 9:52 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Thu, Jul 30, 9:48 AM
sys/amd64/amd64/exception.S
1406

(or <= 18; 19 has FRED support, which is good given that's the system toolchain on a bunch of recent FreeBSD releases)

1410–1412

This is a thing you can do apparently, who knew

kib marked 2 inline comments as done.

clang <= 18.
.err for non-ax.

Looks like phab mangled my tabs so the updated lines are all using spaces :(

jrtc27 added inline comments.
sys/amd64/amd64/exception.S
1407

Still missing tabs in the two gaps here, otherwise LGTM

1409

(I don't know if the right style would be to put a tab here like you've done for .byte or to leave it as a lone space? Both seem fine to me, but just pointing it out in case it hasn't occurred to you and you have a preference)

This revision is now accepted and ready to land.Thu, Jul 30, 11:18 AM
kib marked 2 inline comments as done.

Use tabs after .if/.err

This revision now requires review to proceed.Thu, Jul 30, 11:21 AM
sys/amd64/amd64/exception.S
1407

(still not fixed)

kib marked an inline comment as done.Thu, Jul 30, 11:42 AM
kib added inline comments.
sys/amd64/amd64/exception.S
1407

It is already inconsistent. At least PROTF_ENTRY uses spaces. But ok.

kib marked an inline comment as done.

More tabs.

Thanks

sys/amd64/amd64/exception.S
1407

Oh, well, that may be true, I was just comparing against erets/eretu which had tabs, as did lkgs for your original patch

This revision is now accepted and ready to land.Thu, Jul 30, 12:03 PM

Thanks for fixing this so quickly!