This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: silent libf2c build failures, multilib related?


Robert Lipe wrote:
> 
> I've added the group back in the hopes that others can help.
> 
> >  so, after repeating 'gmake clean-target-libf2c' there was
> > libf2c/libU77/stamp-h left over. I removed that manually and
> 
> OK, I have one of those hanging around, too.   It seems to be built
> intentionally.
> 
> I can't build an Irix cross.  The way I read the config files, irix
> should be a multlibbed host, so we should be seeing the same sorts of things
> at a block diagram level....
>

 Would a "--disable-multilib" configure flag cause problems?
That is what I use to avoid building the "mabi=64" stuff that
I do not want/need.

> > reissued 'gmake all-target-libf2c'. Same effect as before.
> > BUT - looking at the final command to bild the archive, I found:
> >
> > true CC='/mnts/d9/tmp/egcs-snapobjs/gcc/xgcc
> >  -B/mnts/d9/tmp/egcs-snapobjs/gcc/' CFLAGS='-O4 -g'
> >  CPPFLAGS='' AR='ar' RANLIB='true' PICFLAG='' RUNTESTFLAGS=''
> >  libg2c.a multi-do DO="all libg2c.a"
> >
> >  Now, this will of course not generate an archive:-) The
> 
> In a mind-numbing display of obfuscation, it actually _is_ part
> of what is displayed.
> 
> When I do a 'make all-target-libf2c', I see the following as the fini
> for each of the multlib options.  Since -fPIC is my last one, that's the
> one I'm going to show.  Notice that the third line is essentially the
> one you're citing.
> 
> /play/negcs/gcc/xgcc -B/play/negcs/gcc/ -c -DSkip_f2c_Undefs -I. -I../../../../../egcs/libf2c/libU77 -I../../../../../egcs/libf2c/libU77/../libI77 -I.. -I../../../../../egcs/libf2c/libU77/..  -DHAVE_CONFIG_H -g -O2  -fPIC ../../../../../egcs/libf2c/libU77/datetime_.c
> echo timestamp > ../s-libu77
> true CC='/play/negcs/gcc/xgcc -B/play/negcs/gcc/' CFLAGS='-g -O2  -fPIC' CPPFLAGS='' AR='ar' RANLIB='true' PICFLAG='' RUNTESTFLAGS='' libg2c.a multi-do DO="all libg2c.a"

 This is the last line I see in my build.

Martin
-- 
+---------------------------------+
|Martin Knoblauch                 |
|---------------------------------|
|http://www.knobisoft.de          |
+---------------------------------+
|e-mail: <knobi@knobisoft.de>     |
+---------------------------------+


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]