Re: Bug#522581: marked as done (gcc-4.3: Cross compilers depends on non -cross lib versions)
Hi,
> ---------- Missatge reenviat ----------
> From: Arthur Loiret <aloiret@debian.org>
> To: Hector Oron <hecormar@gmail.com>, 522581-done@bugs.debian.org
> Date: Sun, 5 Apr 2009 09:54:25 +0200
> Subject: Re: Bug#522581: gcc-4.3: Cross compilers depends on non -cross lib versions
> 2009/4/5, Hector Oron <hecormar@gmail.com>:
>> When building cross compilers,
>> Depends: gcc-4.3-s390-linux-gnu-base (= 4.3.2-1.1), cpp-4.3-s390-linux-gnu
>> (= 4.3.2-1.1), binutils-s390-linux-gnu (>= 2.17cvs20070426),
>> libgcc1-s390-cross (>= 1:4.3.2-1.1), libgomp1 (>= 4.3.2-1.1), libc6 (>= 2.3)
>>
>> Crosscompilers should not depend on non -cross lib versions libgomp1 (>=
>> 4.3.2-1.1), libc6 (>= 2.3)
>
> Of course they should! How do you expect the binaries (which are built
> for host, not for target) to run without them? And the libc dependency
> is even added by dpkg-shlibdeps...
>
> Closing.
>
Why on gcc-4.2 and gcc-4.1 cross versions are not depending on
libgomp1? And those have been working nicely,
GCC-4.1
~~~~~~
Depends: gcc-4.1-base (= 4.1.2-25), cpp-4.1-powerpc-linux-gnu (=
4.1.2-25), binutils-powerpc-linux-gnu (>= 2.17cvs20070426),
libgcc1-powerpc-cross (>= 1:4.1.2-25), libc6 (>= 2.3)
Recommends: libc6-dev-powerpc-cross (>= 2.5)
Suggests: gcc-4.1-multilib-powerpc-linux-gnu, gcc-4.1-doc (>=
4.1.2-2), gcc-4.1-locales (>= 4.1.2-2), libmudflap0-dev-powerpc-cross
(>= 4.1.2-25)
GCC-4.2
~~~~~~
Depends: gcc-4.2-powerpc-linux-gnu-base (= 4.2.4-6),
cpp-4.2-powerpc-linux-gnu (= 4.2.4-6), binutils-powerpc-linux-gnu (>=
2.17cvs20070426), libgcc1-powerpc-cross (>= 1:4.2.4-6), libc6 (>= 2.3)
Recommends: libc6-dev-powerpc-cross (>= 2.5)
Suggests: gcc-4.2-multilib-powerpc-linux-gnu,
libmudflap0-4.2-dev-powerpc-cross (>= 4.2.4-6), gcc-4.2-doc (>=
4.2.3-1), gcc-4.2-locales (>= 4.2.3-1), libgcc1-dbg-powerpc-cross,
libgomp1-dbg-powerpc-cross, libmudflap0-dbg-powerpc-cross
We had libc6 dependency before, but not libgomp1 dependency, which
makes cross compiler depend on native compiler version, and cross
compilers are independent from native compilers versions by design.
So, I would recommend you to reopen the bug and fix it properly,
probably you are missing some @TS@ in the control.?? file. I have not
check it.
Cheers
--
Héctor Orón
Reply to: