Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian GCC (http://www.linux-archive.org/debian-gcc/)
-   -   Bug#447443: gcc-snapshot - FTBFS: mv: cannot stat `debian/tmp/usr/lib/gcc-snapshot/include/c++/4.3.0/s390x-linux-gnu/64': No such file or directory (http://www.linux-archive.org/debian-gcc/8621-bug-447443-gcc-snapshot-ftbfs-mv-cannot-stat-debian-tmp-usr-lib-gcc-snapshot-include-c-4-3-0-s390x-linux-gnu-64-no-such-file-directory.html)

Bastian Blank 11-29-2007 07:36 PM

Bug#447443: gcc-snapshot - FTBFS: mv: cannot stat `debian/tmp/usr/lib/gcc-snapshot/include/c++/4.3.0/s390x-linux-gnu/64': No such file or directory
 
On Sun, Oct 21, 2007 at 11:19:49AM +0200, Matthias Klose wrote:
> - check how the libstdc++ 64 multilib build is configured (config.status)

It got broken somewhere between 20061022-1 and 20070326-1.

20061022-1:
| Adding multilib support to Makefile in ../../../src/libstdc++-v3
| multidirs=64
| with_multisubdir=

20070326-1:
| /usr/bin/ld: crtbegin.o: No such file: No such file or directory
| collect2: ld returned 1 exit status
| Could not link program with -m64, disabling it.
| Adding multilib support to Makefile in ../../../src/libgcc
| multidirs=
| with_multisubdir=

It lacks a 64bit build of libgcc, which is AFAIK the first thing which
is built. The relevant code was completely reworked somewhere in
revision 120429.

Bastian

--
Another Armenia, Belgium ... the weak innocents who always seem to be
located on a natural invasion route.
-- Kirk, "Errand of Mercy", stardate 3198.4



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Bastian Blank 11-29-2007 08:33 PM

Bug#447443: gcc-snapshot - FTBFS: mv: cannot stat `debian/tmp/usr/lib/gcc-snapshot/include/c++/4.3.0/s390x-linux-gnu/64': No such file or directory
 
On Thu, Nov 29, 2007 at 09:36:08PM +0100, Bastian Blank wrote:
> It lacks a 64bit build of libgcc, which is AFAIK the first thing which
> is built.

I forgot that large parts of the multilib support is added by patches.
So the following happens:

config-ml.in tries to link something with -m64. As this is the libgcc,
which emits crtbegin.o for not-main-arch, it fails as the build not yet
produced a usable one and disables itself. The test uses the temporary
xgcc and is therefor not able to use the old one from /usr/lib/gcc.

Bastian

--
Women professionals do tend to over-compensate.
-- Dr. Elizabeth Dehaver, "Where No Man Has Gone Before",
stardate 1312.9.

Bastian Blank 11-29-2007 09:03 PM

Bug#447443: gcc-snapshot - FTBFS: mv: cannot stat `debian/tmp/usr/lib/gcc-snapshot/include/c++/4.3.0/s390x-linux-gnu/64': No such file or directory
 
On Thu, Nov 29, 2007 at 10:33:48PM +0100, Bastian Blank wrote:
> I forgot that large parts of the multilib support is added by patches.
> So the following happens:
>
> config-ml.in tries to link something with -m64. As this is the libgcc,
> which emits crtbegin.o for not-main-arch, it fails as the build not yet
> produced a usable one and disables itself. The test uses the temporary
> xgcc and is therefor not able to use the old one from /usr/lib/gcc.

It works for powerpc by accident because the patch contains a type. It
checks for m64 instead of 64 and therefor never disable the build in
case of error.

Bastian

--
Spock: We suffered 23 casualties in that attack, Captain.



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


All times are GMT. The time now is 09:28 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.