Re: fatal error: gnu/stubs-32.h: No such file

2013-08-14 Thread Gabriel Dos Reis
On Wed, Aug 14, 2013 at 11:23 AM, Andreas Schwab wrote: > Alexandre Oliva writes: > >> FWIW, that patch was removed at a later point, for reasons I no longer >> recall. > > See . So, we are over the 48-hour wait for complaints :-/ -- Gaby

Re: fatal error: gnu/stubs-32.h: No such file

2013-08-14 Thread Andreas Schwab
Alexandre Oliva writes: > FWIW, that patch was removed at a later point, for reasons I no longer > recall. See . Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5

Re: fatal error: gnu/stubs-32.h: No such file

2013-08-13 Thread Alexandre Oliva
(catching up on old email) On Jul 8, 2013, Gabriel Dos Reis wrote: > On Mon, Jul 8, 2013 at 12:19 AM, Andrew Pinski wrote: >> On Sun, Jul 7, 2013 at 10:17 PM, Gabriel Dos Reis >> wrote: >>> On Sun, Jul 7, 2013 at 6:02 PM, Jonathan Wakely >>> wrote: On 7 July 2013 21:33, Gabriel Dos Rei

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-31 Thread Russ Allbery
Jonathan Wakely writes: > On 31 July 2013 20:44, Matthias Klose wrote: >> if you mention distribution specific packages, please add the ones needed for >> some distributions. For Debian/Ubuntu this would be g++-multilib if the >> architecture is multilib'ed, g++ otherwise. > That's not the packa

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-31 Thread Jonathan Wakely
On 31 July 2013 20:44, Matthias Klose wrote: > if you mention distribution specific packages, please add the ones needed for > some distributions. For Debian/Ubuntu this would be g++-multilib if the > architecture is multilib'ed, g++ otherwise. That's not the package that provides gnu/stubs-32.h,

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-31 Thread Matthias Klose
Am 29.07.2013 15:06, schrieb FX: >> As a consensual first step toward addressing this issue, I suggest the >> following patch to the doc. I hope it is clear enough, but suggestions are >> obviously welcome. (I haven't even compiled the docs with it, as I'm on my >> laptop with little battery.) >

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-30 Thread Andrew Haley
On 07/30/2013 01:52 PM, David Starner wrote: > On Tue, Jul 30, 2013 at 12:56 AM, Andrew Haley wrote: >> "We" is the GCC community. "We" really want multilibs to be built so >> they get tested as much as possible. It's in the best interest of >> all GCC users that this happens. > > "We" really w

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-30 Thread FX
> If --enable-multilib or --disable-multilib are passed then things > are performed as today, more or less. If these flags are not > explicitly given then gcc has to do something different This sounds reasonable. We could have a specific check, with the following cumulative conditions (to make i

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-30 Thread David Starner
On Mon, Jul 29, 2013 at 9:58 PM, Andrew Pinski wrote: > On Mon, Jul 29, 2013 at 9:50 PM, David Starner wrote: >> We've all seen cases where a quick patch is rejected in favor of a >> hypothetical patch, and years down the road, the program still has the >> problem. The people who blocked the quic

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-30 Thread David Starner
On Tue, Jul 30, 2013 at 12:56 AM, Andrew Haley wrote: > "We" is the GCC community. "We" really want multilibs to be built so > they get tested as much as possible. It's in the best interest of > all GCC users that this happens. "We" really want Ada to be built so that it gets tested as much as

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-30 Thread Michael Veksler
On 07/30/2013 07:50 AM, David Starner wrote: Sorry about the blank message; I accidentally hit the wrong button. On Mon, Jul 29, 2013 at 7:19 AM, Andrew Haley wrote: It was "This is possible, but it's tricky, and it's really important to get it right. We don't want a half-arsed patch." We've

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-30 Thread Andrew Haley
On 07/30/2013 05:50 AM, David Starner wrote: > Sorry about the blank message; I accidentally hit the wrong button. > > On Mon, Jul 29, 2013 at 7:19 AM, Andrew Haley wrote: >> It was "This is possible, but it's tricky, and it's really important >> to get it right. We don't want a half-arsed patch

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-29 Thread Andrew Pinski
On Mon, Jul 29, 2013 at 9:50 PM, David Starner wrote: > Sorry about the blank message; I accidentally hit the wrong button. > > On Mon, Jul 29, 2013 at 7:19 AM, Andrew Haley wrote: >> It was "This is possible, but it's tricky, and it's really important >> to get it right. We don't want a half-ar

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-29 Thread David Starner
Sorry about the blank message; I accidentally hit the wrong button. On Mon, Jul 29, 2013 at 7:19 AM, Andrew Haley wrote: > It was "This is possible, but it's tricky, and it's really important > to get it right. We don't want a half-arsed patch." We've all seen cases where a quick patch is rejec

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-29 Thread David Starner
On Mon, Jul 29, 2013 at 7:19 AM, Andrew Haley wrote: > On 07/29/2013 02:55 PM, Bruce Korb wrote: >> On Mon, Jul 29, 2013 at 6:22 AM, Andrew Haley wrote: >> >>> There should be a better diagnostic. >> >> If you remember, the start of this thread was: >> >>> Why is it that configure worked but stub

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-29 Thread Andrew Haley
On 07/29/2013 02:55 PM, Bruce Korb wrote: > On Mon, Jul 29, 2013 at 6:22 AM, Andrew Haley wrote: > >> There should be a better diagnostic. > > If you remember, the start of this thread was: > >> Why is it that configure worked but stubs-32.h was not found? > > That is the correct thing to do.

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-29 Thread Bruce Korb
. OK, fine, the backup is to Google: fatal error: gnu/stubs-32.h: No such file or directory and have an early hit that tells you that you did not configure some 32 bit developer package you had never heard of before. I guess that's easier than configure tests or #error directives for

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-29 Thread Andrew Haley
you may encounter an > +error such as @samp{fatal error: gnu/stubs-32.h: No such file} > +@item building GCC as a 64-bit only compiler, by configuring with the > +option @option{--disable-multilib} > +@end itemize Looks good. This should be "Make sure you either have the 32-

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-29 Thread FX
may encounter an +error such as @samp{fatal error: gnu/stubs-32.h: No such file} +@item building GCC as a 64-bit only compiler, by configuring with the +option @option{--disable-multilib} +@end itemize + @item GNAT In order to build the Ada compiler (GNAT) you must already have GNAT

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-28 Thread FX
_64-unknown-linux-gnu}, beware of +either: + +@itemize @bullet +@item having 32-bit libc developer package properly installed (the exact +name of the package depends on your distro); otherwise, you may encounter an +error such as @samp{fatal error: gnu/stubs-32.h: No such file} +@item building GCC as a

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-27 Thread Gabriel Dos Reis
On Sat, Jul 27, 2013 at 6:10 PM, David Starner wrote: >> If the >> latter, did you try spelling it correctly, --disable-multilib >> (singular)? > > I'm sorry, I didn't realize I was misspelling it. Do not feel alone on this one. -- Gaby

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-27 Thread David Starner
On Sat, Jul 27, 2013 at 12:23 PM, Jonathan Wakely wrote: > It's not "some random package" it's the C library, and it is needed to > compile 32-bit C programs. It's not libc6. It's not even libc6-dev. It's libc6-dev-i386. Debian Popularity Contest says that 84315 out of 147631 are AMD64; 99980 sys

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-27 Thread Gabriel Dos Reis
On Sat, Jul 27, 2013 at 2:23 PM, Jonathan Wakely wrote: > On 27 July 2013 14:56, David Starner wrote: >> On Fri, Jul 26, 2013 at 2:01 AM, Andrew Haley wrote: >>> GCC can detect at configure time that it will fail. It is clearly >>> a computable problem. It's a matter of someone doing it rather

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-27 Thread Jonathan Wakely
On 27 July 2013 14:56, David Starner wrote: > On Fri, Jul 26, 2013 at 2:01 AM, Andrew Haley wrote: >> GCC can detect at configure time that it will fail. It is clearly >> a computable problem. It's a matter of someone doing it rather than >> insisting that the world should change to suit them. >

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-27 Thread David Starner
On Fri, Jul 26, 2013 at 2:01 AM, Andrew Haley wrote: > GCC can detect at configure time that it will fail. It is clearly > a computable problem. It's a matter of someone doing it rather than > insisting that the world should change to suit them. GCC 4.8.1 will fail to compile on x86_64-unknown-

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-26 Thread Andrew Haley
On 07/26/2013 01:00 AM, David Starner wrote: > On Thu, Jul 25, 2013 at 1:17 AM, Andrew Haley wrote: >> On 07/24/2013 11:51 PM, David Starner wrote: >>> On Wed, Jul 24, 2013 at 8:50 AM, Andrew Haley wrote: Not at all: we're just disagreeing about what a real system with a real workload l

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-25 Thread David Starner
On Thu, Jul 25, 2013 at 1:17 AM, Andrew Haley wrote: > On 07/24/2013 11:51 PM, David Starner wrote: >> On Wed, Jul 24, 2013 at 8:50 AM, Andrew Haley wrote: >>> Not at all: we're just disagreeing about what a real system with >>> a real workload looks like. >> >> No, we aren't. We're disagreeing a

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-25 Thread Andrew Haley
On 07/24/2013 11:51 PM, David Starner wrote: > On Wed, Jul 24, 2013 at 8:50 AM, Andrew Haley wrote: >> Not at all: we're just disagreeing about what a real system with >> a real workload looks like. > > No, we aren't. We're disagreeing about whether it's acceptable to > enable a feature by defaul

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-24 Thread David Starner
On Wed, Jul 24, 2013 at 8:50 AM, Andrew Haley wrote: > Not at all: we're just disagreeing about what a real system with > a real workload looks like. No, we aren't. We're disagreeing about whether it's acceptable to enable a feature by default that breaks the compiler build half way through with

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-24 Thread Andrew Haley
On 07/24/2013 04:38 PM, Gabriel Dos Reis wrote: > On Wed, Jul 24, 2013 at 8:44 AM, Andrew Haley wrote: >> On 07/24/2013 01:36 PM, Gabriel Dos Reis wrote: There is no resistance whatsoever to making it work with real systems and real workloads. >>> >>> It does not sound or look like that

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-24 Thread Gabriel Dos Reis
On Wed, Jul 24, 2013 at 8:44 AM, Andrew Haley wrote: > On 07/24/2013 01:36 PM, Gabriel Dos Reis wrote: >>> There is no resistance whatsoever to making it work with real systems >>> and real workloads. >> >> It does not sound or look like that way. >> >>> The problem is that you don't know that pe

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-24 Thread Andrew Haley
On 07/24/2013 01:36 PM, Gabriel Dos Reis wrote: >> There is no resistance whatsoever to making it work with real systems >> and real workloads. > > It does not sound or look like that way. > >> The problem is that you don't know that people >> running on 64-bit hardware often choose to compile -

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-24 Thread Andrew Haley
On 07/24/2013 01:26 PM, David Starner wrote: > On Wed, Jul 24, 2013 at 4:14 AM, Andrew Haley wrote: >> I would just install GCC's build dependencies and build with the >> defaults. > > I'm glad you have infinite hard-drive space. I rather wish fewer > developers did, as well as those infinitely f

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-24 Thread Gabriel Dos Reis
> There is no resistance whatsoever to making it work with real systems > and real workloads. It does not sound or look like that way. > The problem is that you don't know that people > running on 64-bit hardware often choose to compile -32 and run -32 > locally. But we know people are running

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-24 Thread David Starner
On Wed, Jul 24, 2013 at 4:14 AM, Andrew Haley wrote: > I would just install GCC's build dependencies and build with the > defaults. I'm glad you have infinite hard-drive space. I rather wish fewer developers did, as well as those infinitely fast computers they seem to have; perhaps they would hav

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-24 Thread Andrew Haley
On 07/24/2013 11:32 AM, David Starner wrote: > On Wed, Jul 24, 2013 at 1:17 AM, Andrew Haley wrote: >> On 07/24/2013 01:48 AM, David Starner wrote: >>> I'd like to mention that I too was bit by this one on Debian. I don't >>> have a 32-bit development environment installed; why would I? I'm >>> bu

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-24 Thread David Starner
On Wed, Jul 24, 2013 at 1:17 AM, Andrew Haley wrote: > On 07/24/2013 01:48 AM, David Starner wrote: >> I'd like to mention that I too was bit by this one on Debian. I don't >> have a 32-bit development environment installed; why would I? I'm >> building primarily for myself, and if I did have to t

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-24 Thread Andrew Haley
On 07/24/2013 10:04 AM, Florian Weimer wrote: > On 07/24/2013 10:39 AM, Andrew Haley wrote: > >> Well, of course. It's a prerequisite for building GCC. I presume that >> Debian has the same abilities as Fedora, where if you want to build GCC >> you just type >> >>yum-builddep gcc >> >> and F

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-24 Thread Florian Weimer
On 07/24/2013 10:39 AM, Andrew Haley wrote: Well, of course. It's a prerequisite for building GCC. I presume that Debian has the same abilities as Fedora, where if you want to build GCC you just type yum-builddep gcc and Fedora installs all the build reqs for GCC. Yes, "apt-get build-de

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-24 Thread Andrew Haley
On 07/24/2013 09:35 AM, Florian Weimer wrote: > On 07/24/2013 10:17 AM, Andrew Haley wrote: >> On 07/24/2013 01:48 AM, David Starner wrote: >>> I'd like to mention that I too was bit by this one on Debian. I don't >>> have a 32-bit development environment installed; why would I? I'm >>> building pr

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-24 Thread Florian Weimer
On 07/24/2013 10:17 AM, Andrew Haley wrote: On 07/24/2013 01:48 AM, David Starner wrote: I'd like to mention that I too was bit by this one on Debian. I don't have a 32-bit development environment installed; why would I? I'm building primarily for myself, and if I did have to target a 32-bit env

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-24 Thread Andrew Haley
On 07/24/2013 01:48 AM, David Starner wrote: > I'd like to mention that I too was bit by this one on Debian. I don't > have a 32-bit development environment installed; why would I? I'm > building primarily for myself, and if I did have to target a 32-bit > environment, I'd likely have to mess with

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-23 Thread David Starner
I'd like to mention that I too was bit by this one on Debian. I don't have a 32-bit development environment installed; why would I? I'm building primarily for myself, and if I did have to target a 32-bit environment, I'd likely have to mess with more stuff then just the compiler. If you can't find

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-16 Thread Bruce Korb
On Tue, Jul 16, 2013 at 8:11 AM, Jonathan Wakely wrote: > On 16 July 2013 16:04, Gabriel Dos Reis wrote: >> Agreed. It is surprising that we allowed ourselves to >> break the most common target this way. > > It isn't broken, we just don't list one of the prerequisites in the > installation docs.

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-16 Thread Jonathan Wakely
On 16 July 2013 16:04, Gabriel Dos Reis wrote: > Agreed. It is surprising that we allowed ourselves to > break the most common target this way. It isn't broken, we just don't list one of the prerequisites in the installation docs.

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-16 Thread Gabriel Dos Reis
On Tue, Jul 16, 2013 at 10:11 AM, Jonathan Wakely wrote: > On 16 July 2013 16:04, Gabriel Dos Reis wrote: >> Agreed. It is surprising that we allowed ourselves to >> break the most common target this way. > > It isn't broken, we just don't list one of the prerequisites in the > installation docs.

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-16 Thread Gabriel Dos Reis
On Tue, Jul 16, 2013 at 9:35 AM, Bruce Korb wrote: > On Tue, Jul 16, 2013 at 7:25 AM, Andrew Pinski wrote: >>> GCC sources could contain a gnu/stubs-32.h header with an #error and >>> ensure that the right directory to find it is searched when building >>> the target libraries, but only after all

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-16 Thread Bruce Korb
On Tue, Jul 16, 2013 at 7:25 AM, Andrew Pinski wrote: >> GCC sources could contain a gnu/stubs-32.h header with an #error and >> ensure that the right directory to find it is searched when building >> the target libraries, but only after all other directories. It >> wouldn't need to be installed

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-16 Thread Andrew Pinski
On Tue, Jul 16, 2013 at 6:24 AM, Jonathan Wakely wrote: > On 16 July 2013 13:46, Gabriel Dos Reis wrote: >> On Tue, Jul 16, 2013 at 4:39 AM, Florian Weimer wrote: >>> I think this is actually a glibc problem. I wonder if it's possible to >>> install a stubs-32.h file in a suitable location by de

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-16 Thread Jonathan Wakely
On 16 July 2013 13:46, Gabriel Dos Reis wrote: > On Tue, Jul 16, 2013 at 4:39 AM, Florian Weimer wrote: >> I think this is actually a glibc problem. I wonder if it's possible to >> install a stubs-32.h file in a suitable location by default which contains >> an illuminating #error directive. Tha

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-16 Thread Gabriel Dos Reis
On Tue, Jul 16, 2013 at 4:39 AM, Florian Weimer wrote: > On 07/08/2013 05:39 PM, Bruce Korb wrote: > >> Any solution other than an explanation-less "fatal error: >> gnu/stubs-32.h: No such file" >> is fine. There is no way to translate that message into >

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-16 Thread Florian Weimer
On 07/08/2013 05:39 PM, Bruce Korb wrote: Any solution other than an explanation-less "fatal error: gnu/stubs-32.h: No such file" is fine. There is no way to translate that message into "Either --disable-multilib or else install glibc 32 bit development" without comi

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-08 Thread Bruce Korb
On 07/08/13 10:27, Jonathan Wakely wrote: I added http://gcc.gnu.org/wiki/FAQ#gnu_stubs-32.h to improve things slightly. Ever so, but thank you. Ultimately, searching for just "stubs-32.h" will take you there and not require you to wade through too much chaff. You're still Googling instead of

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-08 Thread Jonathan Wakely
On Jul 8, 2013 4:39 PM, "Bruce Korb" wrote: > > Any solution other than an explanation-less "fatal error: > gnu/stubs-32.h: No such file" > is fine. There is no way to translate that message into > "Either --disable-multilib or else install glibc 32 bit d

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-08 Thread Bruce Korb
> for the non-primary multilib needs to be installed or --disable-multilib > used in configure. That would have the disadvantage that the error would > show up only after at least first stage of gcc has been built, but would be > more reliable. Any solution other than an explanation-less

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-08 Thread Jakub Jelinek
On Mon, Jul 08, 2013 at 08:11:03AM -0700, Bruce Korb wrote: > > But having multilib enabled by default on x86_64 is simply very highly > > desirable, > > REMEMBER: we are talking about having a multilib enableable test in > the configure. If it fails, then it is not enabled by default. This is n

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-08 Thread Bruce Korb
Hi, On Sun, Jul 7, 2013 at 10:19 PM, Andrew Pinski wrote: > I think disable multilib by default is a mistake and is a broken > choice for broken distros which don't install the 32bit development by > default when you install the development part. If a distro does something that you consider wron

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-08 Thread Gabriel Dos Reis
On Mon, Jul 8, 2013 at 3:43 AM, Andrew Haley wrote: > On 07/08/2013 07:33 AM, Gabriel Dos Reis wrote: >> I strongly disagree. We (GCC) are at fault here. We implicitly >> enable a feature at configure time without knowing its builds >> will succeed (despite having repeated reports that it does o

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-08 Thread Andrew Haley
On 07/08/2013 07:33 AM, Gabriel Dos Reis wrote: > I strongly disagree. We (GCC) are at fault here. We implicitly > enable a feature at configure time without knowing its builds > will succeed (despite having repeated reports that it does often > fail) without much input from the builder (who migh

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-08 Thread Andrew Haley
On 07/08/2013 06:17 AM, Gabriel Dos Reis wrote: > On Sun, Jul 7, 2013 at 6:02 PM, Jonathan Wakely wrote: >> On 7 July 2013 21:33, Gabriel Dos Reis wrote: >>> How about not enabling multi lib build by default on targets we now that >>> will fail anyway? I have the suspicion this problem is unique

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-08 Thread Gabriel Dos Reis
On Mon, Jul 8, 2013 at 2:13 AM, Jakub Jelinek wrote: > On Mon, Jul 08, 2013 at 12:55:15AM -0500, Gabriel Dos Reis wrote: >> Personally, I don't see anything broken with that. The world we are >> in today is very different from a decade ago. More than a decade ago, >> a multilib build by default

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-08 Thread Jakub Jelinek
On Mon, Jul 08, 2013 at 12:55:15AM -0500, Gabriel Dos Reis wrote: > Personally, I don't see anything broken with that. The world we are > in today is very different from a decade ago. More than a decade ago, > a multilib build by default -probably- made sense; I don't see that today. But having

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-07 Thread Gabriel Dos Reis
On Mon, Jul 8, 2013 at 12:59 AM, Andrew Pinski wrote: > On Sun, Jul 7, 2013 at 10:55 PM, Gabriel Dos Reis > wrote: >> On Mon, Jul 8, 2013 at 12:19 AM, Andrew Pinski wrote: >>> On Sun, Jul 7, 2013 at 10:17 PM, Gabriel Dos Reis >>> wrote: On Sun, Jul 7, 2013 at 6:02 PM, Jonathan Wakely >>>

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-07 Thread Andrew Pinski
On Sun, Jul 7, 2013 at 10:55 PM, Gabriel Dos Reis wrote: > On Mon, Jul 8, 2013 at 12:19 AM, Andrew Pinski wrote: >> On Sun, Jul 7, 2013 at 10:17 PM, Gabriel Dos Reis >> wrote: >>> On Sun, Jul 7, 2013 at 6:02 PM, Jonathan Wakely >>> wrote: On 7 July 2013 21:33, Gabriel Dos Reis wrote:

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-07 Thread Gabriel Dos Reis
On Mon, Jul 8, 2013 at 12:19 AM, Andrew Pinski wrote: > On Sun, Jul 7, 2013 at 10:17 PM, Gabriel Dos Reis > wrote: >> On Sun, Jul 7, 2013 at 6:02 PM, Jonathan Wakely >> wrote: >>> On 7 July 2013 21:33, Gabriel Dos Reis wrote: How about not enabling multi lib build by default on targets we

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-07 Thread Andrew Pinski
On Sun, Jul 7, 2013 at 10:17 PM, Gabriel Dos Reis wrote: > On Sun, Jul 7, 2013 at 6:02 PM, Jonathan Wakely wrote: >> On 7 July 2013 21:33, Gabriel Dos Reis wrote: >>> How about not enabling multi lib build by default on targets we now that >>> will fail anyway? I have the suspicion this problem

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-07 Thread Gabriel Dos Reis
On Sun, Jul 7, 2013 at 6:02 PM, Jonathan Wakely wrote: > On 7 July 2013 21:33, Gabriel Dos Reis wrote: >> How about not enabling multi lib build by default on targets we now that >> will fail anyway? I have the suspicion this problem is unique to openSUSE, >> so we can take care of that. > > I'm

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-07 Thread Jonathan Wakely
On 7 July 2013 21:33, Gabriel Dos Reis wrote: > How about not enabling multi lib build by default on targets we now that > will fail anyway? I have the suspicion this problem is unique to openSUSE, > so we can take care of that. I'm pretty sure I've seen it happen with RHEL and Fedora, and Ubuntu

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-07 Thread Gabriel Dos Reis
On Sun, Jul 7, 2013 at 12:44 PM, Jonathan Wakely wrote: > On 7 July 2013 15:00, Bruce Korb wrote: >> On 07/06/13 11:53, Andreas Schwab wrote: >>> >>> Bruce Korb writes: >>> Why is it that configure worked but stubs-32.h was not found? >>> >>> >>> This is testing the host compiler which does

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-07 Thread Gabriel Dos Reis
On Sun, Jul 7, 2013 at 9:00 AM, Bruce Korb wrote: > On 07/06/13 11:53, Andreas Schwab wrote: >> >> Bruce Korb writes: >> >>> Why is it that configure worked but stubs-32.h was not found? >> >> >> This is testing the host compiler which doesn't need that file. You >> need to build the target comp

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-07 Thread Jonathan Wakely
On 7 July 2013 15:00, Bruce Korb wrote: > On 07/06/13 11:53, Andreas Schwab wrote: >> >> Bruce Korb writes: >> >>> Why is it that configure worked but stubs-32.h was not found? >> >> >> This is testing the host compiler which doesn't need that file. You >> need to build the target compiler befor

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-07 Thread Bruce Korb
On 07/06/13 11:53, Andreas Schwab wrote: Bruce Korb writes: Why is it that configure worked but stubs-32.h was not found? This is testing the host compiler which doesn't need that file. You need to build the target compiler before you can test it. Sorry, I'm still confused. I had a fresh

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-06 Thread Andreas Schwab
Bruce Korb writes: > Why is it that configure worked but stubs-32.h was not found? This is testing the host compiler which doesn't need that file. You need to build the target compiler before you can test it. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-06 Thread Bruce Korb
On 07/06/13 09:02, Andrew Haley wrote: On 07/06/2013 04:41 PM, Bruce Korb wrote: Why is it that configure worked but stubs-32.h was not found? Googling leads me to: You're missing the 32 bit libc dev package: but the configure step should detect that The trouble with making suggestions like

Re: fatal error: gnu/stubs-32.h: No such file

2013-07-06 Thread Andrew Haley
On 07/06/2013 04:41 PM, Bruce Korb wrote: > Why is it that configure worked but stubs-32.h was not found? > Googling leads me to: >> > You're missing the 32 bit libc dev package: > but the configure step should detect that The trouble with making suggestions like this is that someone will ask you

fatal error: gnu/stubs-32.h: No such file

2013-07-06 Thread Bruce Korb
from ../../../../gcc-svn/libgcc/../gcc/tsystem.h:87, from ../../../../gcc-svn/libgcc/libgcc2.c:27: /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory # include ^ compilation terminated. make[5]: *** [_mul