This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: [RFC] Adding --skip-mismatch option to ld
- To: jj@sunsite.ms.mff.cuni.cz (Jakub Jelinek)
- Subject: Re: [RFC] Adding --skip-mismatch option to ld
- From: hjl@lucon.org (H.J. Lu)
- Date: Fri, 4 Jun 1999 08:35:25 -0700 (PDT)
- Cc: binutils@sourceware.cygnus.com
>
> I'm trying to get elf32_sparc and elf64_sparc environments running on the
> same machine on Linux, but Solaris has apparently the same issues but
> different paths.
> Basically, elf64_sparc is incompatible architecture with elf32_sparc and I'd
> like to make things easier for people to link the right thing and not to
> crash on incompatible architectures for every link.
> The first hunk just sets the default search dirs for the elf64_sparc
> emulations, both when it is the default target and when the default is
> elf32_sparc. Solaris linker first tries paths ending with /lib/sparcv9
> and for Linux I'd like to use paths ending with /lib64.
> Now Solaris linker apparently skips a library in the search path if it is
> for the wrong architecture (=emulation) which makes a lot of sense to me,
> that's why I wrote the second part of this patch. I've made it optional and
> not default because it differs from the standard library path searching, on
> the other side without this any compilation with some wrong arch library in the
> search path before the correct arch one would die in error.
>
The IA64 ABI group is dealing with the similar issue. Can we agree on
something?
H.J.