* latest CVS snapshot configure error - mh/mt-frag
@ 1998-02-08 16:41 Albert Cranford
1998-02-08 17:08 ` H.J. Lu
0 siblings, 1 reply; 6+ messages in thread
From: Albert Cranford @ 1998-02-08 16:41 UTC (permalink / raw)
To: egcs
I found a configuration bug that prevents compiling the latest CVS
snapshot.
I previously compiled 1.0.1 successfully and attempted to try the latest
and see that
the wrong mt & mh types are being used. I dump the config.status for
your analysis.
In my successful configuration:
#!/bin/sh
# This file was generated automatically by configure. Do not edit.
# This directory was configured as follows:
../configure --host=i486-pc-linux-gnu --prefix=/usr --enable-threads
--enable-shared --norecursion
# using "../config/mh-x86pic" and "../config/mt-x86pic"
From the latest snapshot:
#!/bin/sh
# This file was generated automatically by configure. Do not edit.
# This directory was configured as follows:
../configure --host=i486-pc-linux-gnu --prefix=/usr --enable-threads
--enable-shared --norecursion
# using "mh-frag" and "mt-frag"
I even tried to force the site to mh-x86pic and mt-x86pic with
site=x86pic
with no change, still get frag as the site.
I looked over the mail archive site and see only Jeff Johnson reported a
similar
problem(i think).
Any ideas?
Albert
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: latest CVS snapshot configure error - mh/mt-frag
1998-02-08 16:41 latest CVS snapshot configure error - mh/mt-frag Albert Cranford
@ 1998-02-08 17:08 ` H.J. Lu
1998-02-08 17:16 ` Albert Cranford
0 siblings, 1 reply; 6+ messages in thread
From: H.J. Lu @ 1998-02-08 17:08 UTC (permalink / raw)
To: Albert Cranford; +Cc: egcs
>
> I found a configuration bug that prevents compiling the latest CVS
> snapshot.
> I previously compiled 1.0.1 successfully and attempted to try the latest
> and see that
> the wrong mt & mh types are being used. I dump the config.status for
> your analysis.
>
>
> >From the latest snapshot:
> #!/bin/sh
> # This file was generated automatically by configure. Do not edit.
> # This directory was configured as follows:
> ../configure --host=i486-pc-linux-gnu --prefix=/usr --enable-threads
> --enable-shared --norecursion
> # using "mh-frag" and "mt-frag"
Can you tell us what were in mh-frag and mt-frag?
H.J.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: latest CVS snapshot configure error - mh/mt-frag
1998-02-08 17:08 ` H.J. Lu
@ 1998-02-08 17:16 ` Albert Cranford
1998-02-08 17:26 ` H.J. Lu
1998-02-09 15:15 ` Joern Rennecke
0 siblings, 2 replies; 6+ messages in thread
From: Albert Cranford @ 1998-02-08 17:16 UTC (permalink / raw)
To: H.J. Lu; +Cc: egcs
H.J. Lu wrote:
>
> Can you tell us what were in mh-frag and mt-frag?
>
> H.J.
I should describe the problem first. Heres the output:
Bootstrapping the compiler
make[1]: Entering directory `/usr/src/egcs-1.0.1/egcs/egcs/binary/gcc'
make CC="gcc" libdir=/usr/lib LANGUAGES="c "
make[2]: Entering directory `/usr/src/egcs-1.0.1/egcs/egcs/binary/gcc'
cd ../../gcc && autoheader
/bin/sh: autoheader: command not found
make[2]: *** [../../gcc/cstamp-h.in] Error 127
make[2]: Leaving directory `/usr/src/egcs-1.0.1/egcs/egcs/binary/gcc'
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/usr/src/egcs-1.0.1/egcs/egcs/binary/gcc'
make: *** [bootstrap-lean] Error 2
Second your answer:
---mh-frag
PICFLAG=-fpic
---mt-frag
# When using glibc 2 on Linux we must always use vtable thunks.
CXXFLAGS=-O2 -g -fvtable-thunks
PICFLAG_FOR_TARGET=-fpic
I looked in 1.0.1 and do not see any mh... or mt... files.
PS: Is there anyway to find a version from the CVS snapshot?
Albert
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: latest CVS snapshot configure error - mh/mt-frag
1998-02-08 17:16 ` Albert Cranford
@ 1998-02-08 17:26 ` H.J. Lu
1998-02-08 18:02 ` Albert Cranford
1998-02-09 15:15 ` Joern Rennecke
1 sibling, 1 reply; 6+ messages in thread
From: H.J. Lu @ 1998-02-08 17:26 UTC (permalink / raw)
To: Albert Cranford; +Cc: egcs
>
> H.J. Lu wrote:
> >
> > Can you tell us what were in mh-frag and mt-frag?
> >
> > H.J.
> I should describe the problem first. Heres the output:
> Bootstrapping the compiler
> make[1]: Entering directory `/usr/src/egcs-1.0.1/egcs/egcs/binary/gcc'
> make CC="gcc" libdir=/usr/lib LANGUAGES="c "
> make[2]: Entering directory `/usr/src/egcs-1.0.1/egcs/egcs/binary/gcc'
> cd ../../gcc && autoheader
> /bin/sh: autoheader: command not found
It is a time stamp issue. If you want to use CVS for egcs, you
should at least install autoconf. autoheader is in autoconf.
> make[2]: *** [../../gcc/cstamp-h.in] Error 127
> make[2]: Leaving directory `/usr/src/egcs-1.0.1/egcs/egcs/binary/gcc'
> make[1]: *** [bootstrap-lean] Error 2
> make[1]: Leaving directory `/usr/src/egcs-1.0.1/egcs/egcs/binary/gcc'
> make: *** [bootstrap-lean] Error 2
>
> Second your answer:
> ---mh-frag
> PICFLAG=-fpic
> ---mt-frag
> # When using glibc 2 on Linux we must always use vtable thunks.
> CXXFLAGS=-O2 -g -fvtable-thunks
> PICFLAG_FOR_TARGET=-fpic
>
They look ok.
--
H.J. Lu (hjl@gnu.org)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: latest CVS snapshot configure error - mh/mt-frag
1998-02-08 17:26 ` H.J. Lu
@ 1998-02-08 18:02 ` Albert Cranford
0 siblings, 0 replies; 6+ messages in thread
From: Albert Cranford @ 1998-02-08 18:02 UTC (permalink / raw)
To: H.J. Lu; +Cc: egcs
H.J. Lu wrote:
>
> It is a time stamp issue. If you want to use CVS for egcs, you
> should at least install autoconf. autoheader is in autoconf.
>
>
> They look ok.
>
> --
To install autoconf, I had to get and install m4 package.
Wow that makes all the difference.
Thanks very much.
If all goes well, I send you a response to your earlier
posting about success on linux-2.1.85
Albert
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: latest CVS snapshot configure error - mh/mt-frag
1998-02-08 17:16 ` Albert Cranford
1998-02-08 17:26 ` H.J. Lu
@ 1998-02-09 15:15 ` Joern Rennecke
1 sibling, 0 replies; 6+ messages in thread
From: Joern Rennecke @ 1998-02-09 15:15 UTC (permalink / raw)
To: Albert Cranford; +Cc: hjl, egcs
> PS: Is there anyway to find a version from the CVS snapshot?
When you checkout / update, you can use the '-D now' option to get
a sticky date; you can query it with the cvs status command.
When you run into problems later, you can quote this date so that
somebody else can check out the same version.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1998-02-09 15:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-02-08 16:41 latest CVS snapshot configure error - mh/mt-frag Albert Cranford
1998-02-08 17:08 ` H.J. Lu
1998-02-08 17:16 ` Albert Cranford
1998-02-08 17:26 ` H.J. Lu
1998-02-08 18:02 ` Albert Cranford
1998-02-09 15:15 ` Joern Rennecke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).