This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Multilib support in gdb.asm tests


Hi Mark,

> I'm a bit puzzled by this comment.  These tests already invoke `gcc'
> for doing the final link.  Isn't that a problem too?

Actually that is the source of the problem.  Since the final link uses
'gcc' it does get the correct multilib flags.  But the assembler
sources were not being built with the appropriate 'gas' versions of
those flags.

So, for example, the assembler object files would be built with the
default endian setting, but the final link would be done with the
proper multilib endian setting.  This causes the final link to fail if
the two endian settings are not the same, (and it was this failure
that lead me to detect the problem in the first place).

Cheers
        Nick


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]