Skip to content

Undefined reference to '__trampoline_setup' with the flang driver #141147

@ssijaric-nv

Description

@ssijaric-nv

It seems like the default flang invocation on ARM doesn't link against libclang_rt.builtins, which contains the definition of __trampoline_setup. I also don't see '-z execstack' passed to the linker. Running 'flang -v t.f90' on the example program from issue #104798 results in:

FIRModule:(.text+0x30): undefined reference to `__trampoline_setup'

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions