gentooLTO icon indicating copy to clipboard operation
gentooLTO copied to clipboard

dev-lang/ldc2::dlang: required -ffat-lto-objects

Open mccarverone opened this issue 2 years ago • 2 comments

dev-lang/ldc2 is from dlang overlay. Requires -ffat-lto-objects to compile, otherwise it fails with lots of unrecognized symbols.

This is a compiler so it definitely requires further tests to ensure that everything works fine.

build.log

mccarverone avatar Sep 11 '22 20:09 mccarverone

Tested with 1.35. Works with clang -flto but not with gcc. Still needs -ffat-lto-objects.

Connor-GH avatar Jan 08 '24 05:01 Connor-GH

Considering I build and bootstrap ldc2 with itself and also build dmd with it and many personal projects, I would consider ldc2 fine to use with clang lto.

Connor-GH avatar Jan 08 '24 05:01 Connor-GH