Gentoo Archives: gentoo-alpha

From: "Nils o. Janus" <NoJ@××××××××××××.de>
To: gentoo-alpha@l.g.o
Subject: Re: [gentoo-alpha] problem upgrading the toolchain
Date: Tue, 06 Dec 2005 17:03:04
Message-Id: op.s1df9tith9lpon@soeren.noj
In Reply to: [gentoo-alpha] problem upgrading the toolchain by Jeff Donsbach
1 Hi Jeff,
2
3 > configure:1892: checking whether the C compiler
4 > (/usr/bin/gcc -mieee -mcpu=ev56 -pipe -O2 ) works
5 > configure:1908: /usr/bin/gcc -o conftest -mieee
6 > -mcpu=ev56 -pipe -O2 conftest.c 1>&5
7 ^^^^
8 what perplexes me is that stdout is redirecting to the filedescriptor 5
9 which is not a standardized one.
10 Does that filedescriptor ( /dev/fd/5 ) exist?
11 This may be the reason why compiling without redirecting the output, like
12 you already tried, works fine.
13
14 Try passing the 1>&5 to the call of gcc too and check wether it segfaults
15 again.
16
17 On a DS20e, gcc just throws a "Bad file descriptor" error without
18 segfaulting.
19
20 HTH,
21
22 greetings
23 Nils
24 --
25 gentoo-alpha@g.o mailing list

Replies

Subject Author
Re: [gentoo-alpha] problem upgrading the toolchain Jeff Donsbach <jeff_donsbach@×××××.com>