* building gcc on tru64 5.0; `configure` problem?
@ 2000-01-12 5:00 David L. Nicol
2000-01-15 5:00 ` Tim Mooney
2000-01-26 5:00 ` lar3ry gensch
0 siblings, 2 replies; 9+ messages in thread
From: David L. Nicol @ 2000-01-12 5:00 UTC (permalink / raw)
Can't link the assembler portions in with the C portions.
Do I need to install gas? Is there a linker option that
I need to add?
(same results with distributed and freshly built gnu make.)
......
the error had to do with a macro that was not getting
defined, I seem to have resolved it (at least I'm getting
a longer build now) with, in the objdir directory,
echo '#include "config/alpha/osf.h"' >> gcc/config.h
But, it still craps out eventually:
as0: Error: ../../gcc-2.95.2/gcc/libgcc2.c, line 5: instruction not
available in selected architecture model
itoft $2,$f0
as0: Error: ../../gcc-2.95.2/gcc/libgcc2.c, line 5: instruction not
available in selected architecture model
itoft $16,$f12
This was the configuration:
../gcc-2.95.2/configure
--with-gcc-version-trigger=~/gcc-2.95.2/gcc/version.c
--host=alphaev6-dec-osf5.0 --enable-shared --enable-haifa
--enable-languages=c++ --norecursion --without-gnu-as
Is GNU as available for this target? Would that help?
______________________________________________________
David Nicol 816.235.1187 nicold@umkc.edu
"-b Has no effect; ... This option is on by default."
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: building gcc on tru64 5.0; `configure` problem?
2000-01-15 5:00 ` Tim Mooney
@ 2000-01-15 5:00 ` Tom Leitner
2000-01-15 5:00 ` Andrew Hobson
0 siblings, 1 reply; 9+ messages in thread
From: Tom Leitner @ 2000-01-15 5:00 UTC (permalink / raw)
Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu> wrote:
> In article <387CE45B.74B27868@cstp.umkc.edu>,
> David L. Nicol <dnicol@cstp.umkc.edu> wrote:
>>
>>
>> Can't link the assembler portions in with the C portions.
>> Do I need to install gas?
> It won't work, so it would be a waste of time. GNU ld and GNU as do not
> fully support Tru64 Unix. I'm sure Ian Lance Taylor and the other binutils
> core people would happily accept patches to improve the situation or donations
> to fund having *them* improve the situation, but as it stands GNU as is a no-go
> on Tru64 Unix. That's too bad, too, because the lack of a working as and ld
> means it's impossible to have a cross development environment target of osf.
Not quite true. I have ported KDE 1.1.2 to Tru64. The only way to do it
was to install the GNU assembler along with gcc-2.95 and it works perfectly.
There's only one linker error showing up when linking certain C++ programs,
but it's not serious. All this is on Tru64 4.0F !!
You can get the pre-built development environment from:
ftp://finwds01.tu-graz.ac.at/pub/kde/tru64_4.0x/devel/gcc2.95.1.tru64_4.0f.tar.gz
However: I was unable to install gcc 2.95.2 on Tru64 5.0. I heared that
the situation will improve for the upcoming gcc 2.95.3 so I'm waiting
for this version.
BTW: The reason why I needed gnu-as was that the KDE sources tend to
have really long identifiers which the standard tru64 assembler could not
digest.
And another thing: gcc 2.95.1 *can* be build under Tru64 5.0. There's
a patch for the "configure.*" files on the gnu web site.
Tom
--
Dr. Tom Leitner Dept. of Communications, Graz Univ. of Technology,
tom@radar.tu-graz.ac.at Inffeldgasse 12, A-8010 Graz / Austria / Europe
PGP public key @ http://wiis.tu-graz.ac.at/people/tom.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: building gcc on tru64 5.0; `configure` problem?
2000-01-15 5:00 ` Tom Leitner
@ 2000-01-15 5:00 ` Andrew Hobson
2000-01-17 5:00 ` Alexander Mai
0 siblings, 1 reply; 9+ messages in thread
From: Andrew Hobson @ 2000-01-15 5:00 UTC (permalink / raw)
On 15 Jan 2000 12:25:44 GMT, Tom Leitner <tom@radar.tu-graz.ac.at> said:
> And another thing: gcc 2.95.1 *can* be build under Tru64 5.0. There's
> a patch for the "configure.*" files on the gnu web site.
Right, but among other things it won't be ABI compatible with DEC cc.
AFAIK, gdb won't be able to debug binaries compiled with gcc.
For reference see:
http://gcc.gnu.org/ml/gcc-patches/1999-08/msg00394.html
http://gcc.gnu.org/ml/gcc-bugs/1999-11/msg00795.html
http://gcc.gnu.org/ml/gcc-bugs/1999-12/msg00026.html
Drew
--
"Give me more opium, that I may not think of eternity!"
-- Mirabeau
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: building gcc on tru64 5.0; `configure` problem?
2000-01-12 5:00 building gcc on tru64 5.0; `configure` problem? David L. Nicol
@ 2000-01-15 5:00 ` Tim Mooney
2000-01-15 5:00 ` Tom Leitner
2000-01-26 5:00 ` lar3ry gensch
1 sibling, 1 reply; 9+ messages in thread
From: Tim Mooney @ 2000-01-15 5:00 UTC (permalink / raw)
In article <387CE45B.74B27868@cstp.umkc.edu>,
David L. Nicol <dnicol@cstp.umkc.edu> wrote:
>
>
> Can't link the assembler portions in with the C portions.
> Do I need to install gas?
It won't work, so it would be a waste of time. GNU ld and GNU as do not
fully support Tru64 Unix. I'm sure Ian Lance Taylor and the other binutils
core people would happily accept patches to improve the situation or donations
to fund having *them* improve the situation, but as it stands GNU as is a no-go
on Tru64 Unix. That's too bad, too, because the lack of a working as and ld
means it's impossible to have a cross development environment target of osf.
> echo '#include "config/alpha/osf.h"' >> gcc/config.h
>
>
> But, it still craps out eventually:
>
> as0: Error: ../../gcc-2.95.2/gcc/libgcc2.c, line 5: instruction not
> available in selected architecture model
> itoft $2,$f0
> as0: Error: ../../gcc-2.95.2/gcc/libgcc2.c, line 5: instruction not
> available in selected architecture model
> itoft $16,$f12
>
>
> This was the configuration:
>
> ../gcc-2.95.2/configure
> --with-gcc-version-trigger=~/gcc-2.95.2/gcc/version.c
> --host=alphaev6-dec-osf5.0 --enable-shared --enable-haifa
> --enable-languages=c++ --norecursion --without-gnu-as
I've compiled it on ev4 and ev56 platforms without any trouble, but those
are mainly 4.0f systems -- I don't think I've tried it on 5.0 yet.
Did you pass all those flags to configure, or are they the result of some
higher level configure?
Tim
--
Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu
Information Technology Services (701) 231-1076 (Voice)
Room 242-J1, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: building gcc on tru64 5.0; `configure` problem?
2000-01-15 5:00 ` Andrew Hobson
@ 2000-01-17 5:00 ` Alexander Mai
2000-01-17 5:00 ` Andrew Hobson
0 siblings, 1 reply; 9+ messages in thread
From: Alexander Mai @ 2000-01-17 5:00 UTC (permalink / raw)
In article <kjembjpctt.fsf@gamma.eng.mindspring.net>,
Andrew Hobson <ahobson@eng.mindspring.net> writes:
|> On 15 Jan 2000 12:25:44 GMT, Tom Leitner <tom@radar.tu-graz.ac.at> said:
|>
|> > And another thing: gcc 2.95.1 *can* be build under Tru64 5.0. There's
|> > a patch for the "configure.*" files on the gnu web site.
|>
|> Right, but among other things it won't be ABI compatible with DEC cc.
|> AFAIK, gdb won't be able to debug binaries compiled with gcc.
|>
|> For reference see:
[...]
Didn't check but I have already debugged gcc executables with gdb.
Perhaps I didn't use advanced features or overlooked
some hidden problems, but at first glance it was ok ...
Mixing objects fails, yes (well, not sure whether it does so
all the time)
--
Alexander Mai
st002279@hrzpub.tu-darmstadt.de
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: building gcc on tru64 5.0; `configure` problem?
2000-01-17 5:00 ` Alexander Mai
@ 2000-01-17 5:00 ` Andrew Hobson
0 siblings, 0 replies; 9+ messages in thread
From: Andrew Hobson @ 2000-01-17 5:00 UTC (permalink / raw)
On 17 Jan 2000 10:26:52 GMT, st002279@sub3.hrz.tu-darmstadt.de (Alexander Mai) said:
> Didn't check but I have already debugged gcc executables with gdb.
> Perhaps I didn't use advanced features or overlooked
> some hidden problems, but at first glance it was ok ...
Ahh, if I compile gdb with DEC cc, as you say, things seem to work.
If I compile gdb with gcc, it coredumps immediately. That doesn't
fill me with confidence.
Drew
--
"The Kingdom of Tonga admonishes you."
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: building gcc on tru64 5.0; `configure` problem?
@ 2000-01-21 5:00 Timo Eronen
0 siblings, 0 replies; 9+ messages in thread
From: Timo Eronen @ 2000-01-21 5:00 UTC (permalink / raw)
Thomas Leitner <tom@finwal01.tu-graz.ac.at> wrote:
>And another thing: gcc 2.95.1 *can* be build under Tru64 5.0. There's
>a patch for the "configure.*" files on the gnu web site.
I couldn't find such patch. Can you give us some directions ?
Also, which cpu you are talking about ? My experience is that 2.95.2
compiles right out from the box on ev5 & 4.0d, but on ev6 & 5.0 it halts
because of two reasons:
1) osf.h is missing because configure lacks switch for Tru64 5.0
2) 'as' says that 'itoft' is not available for ev6 cpu when assembling
libgcc2.c
If you 'fix' problem 1 by tweaking gcc/configure the build will stop
on problem 2. Fixing problem 2 is for experts so I guess we have to wait
for 2.95.3
Cheers, Timo
--
Timo Eronen, mailto:timo.eronen@utu.fi, http://www.srl.utu.fi
Space Research Laboratory, University of Turku, Finland.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: building gcc on tru64 5.0; `configure` problem?
2000-01-12 5:00 building gcc on tru64 5.0; `configure` problem? David L. Nicol
2000-01-15 5:00 ` Tim Mooney
@ 2000-01-26 5:00 ` lar3ry gensch
2000-01-27 5:00 ` Andrew Hobson
1 sibling, 1 reply; 9+ messages in thread
From: lar3ry gensch @ 2000-01-26 5:00 UTC (permalink / raw)
To: David L. Nicol
[Posted and mailed]
In article <387CE45B.74B27868@cstp.umkc.edu>,
"David L. Nicol" <dnicol@cstp.umkc.edu> writes:
>
>
> Can't link the assembler portions in with the C portions.
> Do I need to install gas? Is there a linker option that
> I need to add?
>
> (same results with distributed and freshly built gnu make.)
>
>
> ......
>
> the error had to do with a macro that was not getting
> defined, I seem to have resolved it (at least I'm getting
> a longer build now) with, in the objdir directory,
>
>
> echo '#include "config/alpha/osf.h"' >> gcc/config.h
Try:
../gcc-2.95.2/configure alpah-dec-osf4.0
A common problem is config.guess telling configure that a system is a
subset of alpha (like alphaev6-dec-osf5.0) and configure not knowing
that it is essentially similar to a regular alpha running 4.0.
--
Larry Gensch larry.gensch@compaq.com
"May I have ten thousand marbles, please?"
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: building gcc on tru64 5.0; `configure` problem?
2000-01-26 5:00 ` lar3ry gensch
@ 2000-01-27 5:00 ` Andrew Hobson
0 siblings, 0 replies; 9+ messages in thread
From: Andrew Hobson @ 2000-01-27 5:00 UTC (permalink / raw)
On 26 Jan 2000 14:30:51 GMT, lar3ry@zk3.dec.com (lar3ry gensch) said:
> Try:
> ../gcc-2.95.2/configure alpah-dec-osf4.0
> A common problem is config.guess telling configure that a system is a
> subset of alpha (like alphaev6-dec-osf5.0) and configure not knowing
> that it is essentially similar to a regular alpha running 4.0.
That may get you a running gcc, but it most likely won't be ABI
compatible with DEC cc.
http://gcc.gnu.org/ml/gcc-patches/1999-08/msg00394.html
http://gcc.gnu.org/ml/gcc-bugs/1999-11/msg00795.html
http://gcc.gnu.org/ml/gcc-bugs/1999-12/msg00026.html
Drew
--
There followed a period of embarrassment as the rumour went round
London that Joey Mellen had trepanned himself, whereas in fact he
had failed to do so.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2000-01-27 5:00 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-12 5:00 building gcc on tru64 5.0; `configure` problem? David L. Nicol
2000-01-15 5:00 ` Tim Mooney
2000-01-15 5:00 ` Tom Leitner
2000-01-15 5:00 ` Andrew Hobson
2000-01-17 5:00 ` Alexander Mai
2000-01-17 5:00 ` Andrew Hobson
2000-01-26 5:00 ` lar3ry gensch
2000-01-27 5:00 ` Andrew Hobson
-- strict thread matches above, loose matches on Subject: below --
2000-01-21 5:00 Timo Eronen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox