Question about multiple *-*-binutils ports
Joshua Root
jmr at macports.org
Mon Mar 1 15:49:40 PST 2010
On 2010-3-2 10:28 , Stef wrote:
> Hello
>
> I've install arm-elf-binutils, i386-mingw32-binutils
> and i386-elf-binutils and each time I've encoutered an error about
> liberty.a being used.
> The last time I was install i386-elf-binutils and the error was :
>
> [...]
> Error: Target org.macports.activate returned: Image error:
> /opt/local/lib/x86_64/libiberty.a is being used by the active
> arm-elf-gcc port. Please deactivate this port first, or use 'port -f
> activate i386-elf-binutils' to force the activation.
> Error: The following dependencies failed to build: i386-elf-binutils
> Error: Status 1 encountered during processing.
> Before reporting a bug, first run the command again with the -d flag to
> get complete output.
>
> And the command give :
>
> sudo port -f activate i386-elf-binutils
> ---> Activating i386-elf-binutils
> Warning: File /opt/local/lib/x86_64/libiberty.a already exists. Moving
> to: /opt/local/lib/x86_64/libiberty.a.mp_1267485696.
>
> And I can verify that I've multiple liberty.a file :
>
> -rw-r--r-- 2 root admin 278768 Mar 2 00:11
> /opt/local/lib/x86_64/libiberty.a
> -rw-r--r-- 2 root admin 278768 Nov 9 01:50
> /opt/local/lib/x86_64/libiberty.a.mp_1267482747
> -rw-r--r-- 2 root admin 270392 Mar 1 23:26
> /opt/local/lib/x86_64/libiberty.a.mp_1267485696
>
>
> Is it normal or is there something I'm doing the wrong way?
>From what I gather, when gcc is built as a cross compiler it still
installs a host libiberty. Some of the cross ports delete it; I guess
they all should?
- Josh
More information about the macports-users
mailing list