Page MenuHomeFreeBSD

Mark MK_PROFILE as broken when targetting mips64
ClosedPublic

Authored by arichardson on Aug 10 2017, 9:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 22 2025, 11:25 AM
Unknown Object (File)
Nov 17 2025, 5:27 AM
Unknown Object (File)
Nov 16 2025, 9:00 PM
Unknown Object (File)
Nov 3 2025, 8:22 PM
Unknown Object (File)
Nov 3 2025, 12:51 PM
Unknown Object (File)
Nov 3 2025, 12:50 PM
Unknown Object (File)
Nov 3 2025, 12:50 PM
Unknown Object (File)
Nov 3 2025, 12:50 PM

Details

Summary

The assembly in sys/mips/include/profile.h will only work for o32 ABI.
I initially turned _mcount into a stub that calls abort() in
https://github.com/CTSRD-CHERI/cheribsd/commit/0f800913c4fcc08125b870e7.
However, jhb@ suggestedthat not building profiling on MIPS64 is the better solution.
I currently have 11912 .po files in my build directory so disabling profile support
should also noticeably speed up the build.

Obtained from: CheriBSD (https://github.com/CTSRD-CHERI/cheribsd/commit/cfa27e6a3d697b59f0fb8215f824c3fc976fbf5e)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable