[llvm] r191343 - Move LTO support library to a component, allowing it to be tested

Richard Sandiford rsandifo at linux.vnet.ibm.com
Thu Sep 26 08:09:36 PDT 2013


Peter Collingbourne <peter-/58mv8DLUhBaa/9Udqfwiw at public.gmane.org> writes:
> Move LTO support library to a component, allowing it to be tested
> more reliably across platforms.  Patch by Tom Roeder!

This might already have been reported, sorry, but this seems to cause
problems when using shared libraries.  Building with:

   ..../configure --enable-shared
   make -jN

and then running:

   make -C test

prints:

<premain>: CommandLine Error: Argument 'use-init-array' defined more than once!
<premain>: CommandLine Error: Argument 'segmented-stacks' defined more than once!
<premain>: CommandLine Error: Argument 'enable-pie' defined more than once!
<premain>: CommandLine Error: Argument 'trap-func' defined more than once!
<premain>: CommandLine Error: Argument 'stack-alignment' defined more than once!
<premain>: CommandLine Error: Argument 'disable-tail-calls' defined more than once!
<premain>: CommandLine Error: Argument 'tailcallopt' defined more than once!
<premain>: CommandLine Error: Argument 'nozero-initialized-in-bss' defined more than once!
<premain>: CommandLine Error: Argument 'fp-contract' defined more than once!
<premain>: CommandLine Error: Argument 'float-abi' defined more than once!
<premain>: CommandLine Error: Argument 'soft-float' defined more than once!
<premain>: CommandLine Error: Argument 'enable-sign-dependent-rounding-fp-math' defined more than once!
<premain>: CommandLine Error: Argument 'enable-no-nans-fp-math' defined more than once!
<premain>: CommandLine Error: Argument 'enable-no-infs-fp-math' defined more than once!
<premain>: CommandLine Error: Argument 'enable-unsafe-fp-math' defined more than once!
<premain>: CommandLine Error: Argument 'disable-fp-elim' defined more than once!
<premain>: CommandLine Error: Argument 'enable-fp-mad' defined more than once!
llc: CommandLine Error: Argument 'use-init-array' defined more than once!
llc: CommandLine Error: Argument 'segmented-stacks' defined more than once!
llc: CommandLine Error: Argument 'enable-pie' defined more than once!
llc: CommandLine Error: Argument 'trap-func' defined more than once!
llc: CommandLine Error: Argument 'stack-alignment' defined more than once!
llc: CommandLine Error: Argument 'disable-tail-calls' defined more than once!
llc: CommandLine Error: Argument 'tailcallopt' defined more than once!
llc: CommandLine Error: Argument 'nozero-initialized-in-bss' defined more than once!
llc: CommandLine Error: Argument 'fp-contract' defined more than once!
llc: CommandLine Error: Argument 'float-abi' defined more than once!
llc: CommandLine Error: Argument 'soft-float' defined more than once!
llc: CommandLine Error: Argument 'enable-sign-dependent-rounding-fp-math' defined more than once!
llc: CommandLine Error: Argument 'enable-no-nans-fp-math' defined more than once!
llc: CommandLine Error: Argument 'enable-no-infs-fp-math' defined more than once!
llc: CommandLine Error: Argument 'enable-unsafe-fp-math' defined more than once!
llc: CommandLine Error: Argument 'disable-fp-elim' defined more than once!
llc: CommandLine Error: Argument 'enable-fp-mad' defined more than once!

maybe because of a clash between the CodeGen and LTO definitions of these
options.

Thanks,
Richard




More information about the llvm-commits mailing list