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)
Mon, Oct 13, 12:37 AM
Unknown Object (File)
Tue, Oct 7, 12:03 AM
Unknown Object (File)
Mon, Oct 6, 10:53 PM
Unknown Object (File)
Fri, Sep 26, 11:31 AM
Unknown Object (File)
Aug 15 2025, 2:33 PM
Unknown Object (File)
Aug 15 2025, 4:17 AM
Unknown Object (File)
Jul 22 2025, 12:16 AM
Unknown Object (File)
Jun 30 2025, 4:32 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