https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115698
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > Since `ld.libhugetlbfs` does not extract argument from `@file`, it cannot > consume the custom argument, and that is fed eventually to original `ld`, > where the arguments are finally extracted. That would be a bug in ld.libhugetlbfs then. Basically the @file is used so the size of the options does not get too big. The original BFD Ld understands @file and able to take all and all options there. Basically ld.libhugetlbfs needs to support @ syntax to extract all options and then create a new file to pass on to the real ld.