Re: [Fwd: Bug#389294: lcdproc_0.5.0-1(hppa/unstable): FTBFS: bad compiler opts?]
On Tue, Oct 03, 2006 at 03:07:31PM +0200, Jos? Luis Tall?n wrote:
> Hi, Guys.
>
> I don't have the resources needed (access to any HPPA machine), nor
> the knowledge (I suspect) to fix this. Could anybody take a look and
> suggest a fix?
>
> It does work in all other arches, and I don't know why this is failing.
hrm...minor bug in a config script or makefile maybe.
...
> > hppa-linux-gnu-gcc -fPIC -Wall -Wall -O3 -Wno-unused-function -b -o bayrad.sl bayrad.o
> > hppa-linux-gnu-gcc: bayrad.sl: No such file or directory
> > hppa-linux-gnu-gcc: unrecognized option '-b'
"gcc --help" on hppa says:
-b <machine> Run gcc for target <machine>, if installed
My guess is "-b" parsing took "-o" as the machine type and barfed
in a stupid way. Obviously "bayrad.sl" won't exist since we expect
it to be an output but the compiler thinks it's an input.
Figure out why "-b" is issued without a corresponding parameter that will
likely solve the problem.
hth,
grant
Reply to: