This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

gas trouble on Tru64


Hi!

I'm trying to make use of binutils on Tru64 (previously known as Digital
Unix). While trying to build the latest snapshot (binutils-010126) I've
ran into following problems:

configure script in binutils directory detected the host type as 
alphaev6-dec-osf4.0e and said, that this configuration is not supported
in directories ld and gas. I don't know, what is meant by "not supported",
but I've tried to run the configure script in ld and gas subdirs, it
worked and I was able to compile them. The only thing I had to change in
gas sources to make it compile was to duplicate the lines

#define LITUSE_BASE     1
#define LITUSE_BYTOFF   2
#define LITUSE_JSR      3

found at the beginning of the file gas/config/tc-alpha.c at the position
3165 of the same file. Otherwise compilation was aborting with complaints
about symbols LITUSE_BASE and LITUSE_JSR not being found. This produced a
seemingly working gas. However, when I've tried to build libstdc++-v3
using this gcc and this gas, I've ran into trouble, which can be
summarized as follows (a transcript of compilation of one of the files
in libstdc++-v3, I've inserted some line breaks to make it more readable):

Reading specs from /home/jurijus/objdir/gcc/specs
Configured with: ../gcc-20010122/configure --disable-shared 
--enable-libstdcxx-v3
gcc version 2.97 20010122 (experimental)
 /home/jurijus/objdir/gcc/cc1plus -nostdinc++ -nostdinc++ -v 
-I../../../../gcc-20010122/libstdc++-v3/include 
-I../../../../gcc-20010122/libstdc++-v3/include/std 
-I../../../../gcc-20010122/libstdc++-v3/include/c_std 
-I../include -I../../../../gcc-20010122/libstdc++-v3/libsupc++ 
-I../libio -I../../../../gcc-20010122/libstdc++-v3/libio 
-I../../../../gcc-20010122/libstdc++-v3/libmath 
-iprefix /home/jurijus/objdir/gcc/../lib/gcc-lib/alphaev6-dec-osf4.0e/2.97/ 
-isystem /home/jurijus/objdir/gcc/include 
-isystem /usr/local/alphaev6-dec-osf4.0e/bin/include 
-isystem /usr/local/alphaev6-dec-osf4.0e/lib/include 
-D__GNUC__=2 -D__GNUC_MINOR__=97 -D__GNUC_PATCHLEVEL__=0 
-Dunix -D__osf__ -D_LONGLONG -DSYSTYPE_BSD -D_SYSTYPE_BSD 
-D__unix__ -D__osf__ -D_LONGLONG -D__SYSTYPE_BSD__ -D_SYSTYPE_BSD 
-D__unix -D__SYSTYPE_BSD -Asystem=unix -Asystem=xpg4 -D__OPTIMIZE__ 
-D__STDC_HOSTED__=1 -Wall -Wno-format -W -Wwrite-strings -Winline 
-D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS -D__cplusplus 
-Acpu=alpha -Amachine=alpha -D__alpha -D__alpha__ -D__alpha_ev6__ 
-Acpu=ev6 -D__alpha_bwx__ -Acpu=bwx -D__alpha_max__ -Acpu=max 
-D__alpha_fix__ -Acpu=fix -isystem /usr/local/alphaev6-dec-osf4.0e/include 
../../../../gcc-20010122/libstdc++-v3/src/complex_io.cc 
-D__GNUG__=2 -D_GNU_SOURCE -D__GXX_ABI_VERSION=100 -quiet -dumpbase 
complex_io.cc -g -g -O2 -Wall -Wno-format -W -Wwrite-strings -Winline 
-version -fno-implicit-templates -fdiagnostics-show-location=once 
-o /tmp/ccGbazww.s
GNU CPP version 2.97 20010122 (experimental) (cpplib)
ignoring nonexistent directory "/usr/local/alphaev6-dec-osf4.0e/bin/include"
ignoring nonexistent directory "/usr/local/alphaev6-dec-osf4.0e/lib/include"
ignoring nonexistent directory "/usr/local/alphaev6-dec-osf4.0e/include"
GNU CPP version 2.97 20010122 (experimental) (cpplib)
GNU C++ version 2.97 20010122 (experimental) (alphaev6-dec-osf4.0e)
	compiled by GNU C version 2.97 20010122 (experimental).
ignoring nonexistent directory "/home/jurijus/objdir/lib/gcc-lib/alphaev6-dec-osf4.0e/2.97/include"
ignoring nonexistent directory "/home/jurijus/objdir/alphaev6-dec-osf4.0e/include"
ignoring nonexistent directory "/usr/local/lib/gcc-lib/alphaev6-dec-osf4.0e/2.97/include"
ignoring nonexistent directory "/usr/local/alphaev6-dec-osf4.0e/include"
#include "..." search starts here:
#include <...> search starts here:
 ../../../../gcc-20010122/libstdc++-v3/include
 ../../../../gcc-20010122/libstdc++-v3/include/std
 ../../../../gcc-20010122/libstdc++-v3/include/c_std
 ../include
 ../../../../gcc-20010122/libstdc++-v3/libsupc++
 ../libio
 ../../../../gcc-20010122/libstdc++-v3/libio
 ../../../../gcc-20010122/libstdc++-v3/libmath
 /home/jurijus/objdir/gcc/include
 /usr/local/include
 /usr/include
End of search list.
 /usr/local/bin/gas -nocpp -o complex_io.o /tmp/ccGbazww.s
/tmp/ccGbazww.s: Assembler messages:
/tmp/ccGbazww.s:587: Error: Unknown pseudo-op:  `.subsection'
/tmp/ccGbazww.s:589: Error: Unknown pseudo-op:  `.previous'
/tmp/ccGbazww.s:1022: Error: Unknown pseudo-op:  `.subsection'
/tmp/ccGbazww.s:1024: Error: Unknown pseudo-op:  `.previous'
/tmp/ccGbazww.s:1434: Error: Unknown pseudo-op:  `.subsection'
/tmp/ccGbazww.s:1436: Error: Unknown pseudo-op:  `.previous'
/tmp/ccGbazww.s:1679: Error: Unknown pseudo-op:  `.subsection'
/tmp/ccGbazww.s:1681: Error: Unknown pseudo-op:  `.previous'
/tmp/ccGbazww.s:1915: Error: Unknown pseudo-op:  `.subsection'
/tmp/ccGbazww.s:1917: Error: Unknown pseudo-op:  `.previous'
/tmp/ccGbazww.s:2347: Error: Unknown pseudo-op:  `.subsection'
/tmp/ccGbazww.s:2349: Error: Unknown pseudo-op:  `.previous'
/tmp/ccGbazww.s:2778: Error: Unknown pseudo-op:  `.subsection'
/tmp/ccGbazww.s:2780: Error: Unknown pseudo-op:  `.previous'
/tmp/ccGbazww.s:3184: Error: Unknown pseudo-op:  `.subsection'
/tmp/ccGbazww.s:3186: Error: Unknown pseudo-op:  `.previous'
/tmp/ccGbazww.s:3429: Error: Unknown pseudo-op:  `.subsection'
/tmp/ccGbazww.s:3431: Error: Unknown pseudo-op:  `.previous'
/tmp/ccGbazww.s:3665: Error: Unknown pseudo-op:  `.subsection'
/tmp/ccGbazww.s:3667: Error: Unknown pseudo-op:  `.previous'
/tmp/ccGbazww.s:4091: Error: Unknown pseudo-op:  `.subsection'
/tmp/ccGbazww.s:4093: Error: Unknown pseudo-op:  `.previous'
/tmp/ccGbazww.s:4522: Error: Unknown pseudo-op:  `.subsection'
/tmp/ccGbazww.s:4524: Error: Unknown pseudo-op:  `.previous'
/tmp/ccGbazww.s:4928: Error: Unknown pseudo-op:  `.subsection'
/tmp/ccGbazww.s:4930: Error: Unknown pseudo-op:  `.previous'
/tmp/ccGbazww.s:5173: Error: Unknown pseudo-op:  `.subsection'
/tmp/ccGbazww.s:5175: Error: Unknown pseudo-op:  `.previous'
/tmp/ccGbazww.s:5409: Error: Unknown pseudo-op:  `.subsection'
/tmp/ccGbazww.s:5411: Error: Unknown pseudo-op:  `.previous'
 
Now, FAQ for libstdc++-v3 contains a question about Tru64 native compiler
being unable to deal with .previous and .subsection directives
(http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#3_3).
In the answer it is recommended to use gas, which presumably understands
.previous and .subsection directives. Well, my newly built gas seems to
have problems with those directives anyway. What's wrong?

Best regards,

Jurij.




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