[m-users.] Compiler build failure with --enable-lto

Massimo Dentico m.dentico at virgilio.it
Mon Jun 15 19:05:16 AEST 2020


On 15/06/2020 03:23, Julien Fischer wrote:
> 
> What you are missing is that the ml script invokes the linker via the C
> compiler not directly.  (See the output of ml --print-link-command.)
> 
> The -Wl,--stack syntax is correct when passing flags from the C compiler
> to the linker.

Note to self: don't try to pinpoint a problem when you don't have a
fresh mind.

Sorry, it was there but I missed it:

    -Wl,option
       [...] When using the GNU linker, you can also get the same effect
       with -Wl,-Map=output.map.

--
Massimo A. Dentico



More information about the users mailing list