Issue 163550
Summary Flang does not support -fdata-sections and -ffunction-sections flags
Labels flang
Assignees
Reporter arrowd
    libxsmm tries to call the Fortran compiler with these flags: https://github.com/libxsmm/libxsmm/blob/eea23a9942932d51ca9e06f24711275577663c25/Makefile.inc#L1991

This yields the following error with Flang:
```
flang-21: error: unknown argument '-fdata-sections'; did you mean '-Xclang -fdata-sections'?
flang-21: error: unknown argument '-ffunction-sections'; did you mean '-Xclang -ffunction-sections'?
```

It seems that these flags can be easily supported by proxying them to some underlying layer?
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to