Question about multiple *-*-binutils ports
jmr at macports.org
Mon Mar 1 15:49:40 PST 2010
On 2010-3-2 10:28 , Stef wrote:
> 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
> -rw-r--r-- 2 root admin 278768 Nov 9 01:50
> -rw-r--r-- 2 root admin 270392 Mar 1 23:26
> 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?
More information about the macports-users