Skip to content

Fails to build on FreeBSD 13.0-RELEASE with LTO #41995

@pkubaj

Description

@pkubaj

Version

v17.0.1

Platform

FreeBSD KGPE-D16 13.0-RELEASE-p6 FreeBSD 13.0-RELEASE-p6 #0: Tue Jan 11 22:16:55 CET 2022 root@KGPE-D16:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64

Subsystem

No response

What steps will reproduce the bug?

I'm building www/node port after adding --enable-lto to CONFIGURE_ARGS.

How often does it reproduce? Is there a required condition?

Always.

The condition is that DTRACE option is enabled.

What is the expected behavior?

Should build fine.

What do you see instead?

dtrace: failed to link script src/node_provider.d: invalid file type: out/Release/obj.target/libnode/src/node_dtrace.o

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to build files or the CI.freebsdIssues and PRs related to the FreeBSD platform.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions