Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* I need your help about cross compiler for alpha
@ 2007-09-20 16:02 naghmeh.karimi
  2007-09-21 14:54 ` bert.verwoerd
  2008-03-18 15:41 ` SRM keyboard problem oliver.heid
  0 siblings, 2 replies; 9+ messages in thread
From: naghmeh.karimi @ 2007-09-20 16:02 UTC (permalink / raw)


Dear All,

I need to produce OSF alpha binaries to use them by SimpleScalar. I downloaded
crosstool from this website and tried to install gcc ,... as a cross compiler.
I have FEDORA RELEASE 7 on my computer and my system is running gcc 4.1.2-12. I
selected alpha-dec-osf3.2 and for the version of gcc and glibc I
selected gcc-4.0.2-glibc-2.3.6 but the process ended with the following
error:

make[1]: Leaving directory
`/mnt/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/build-binutils/intl'
make[1]: Entering
directory
`/mnt/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/build-binutils/libiberty'
make[2]: Entering
directory
`/mnt/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/build-binutils/libiberty/testsuite'
make[2]: Nothing to be done for
`all'.
make[2]: Leaving directory
`/mnt/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/build-binutils/libiberty/testsuite'
/bin/sh
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../mkinstalldirs
/home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/lib mkdir
-p
--
/home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/lib
/usr/bin/install -c -m 644 ./libiberty.a
/home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/lib/./libiberty.an
( cd /home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/lib
;
ranlib ./libiberty.an )
mv -f
/home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/lib/./libiberty.an
/home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/lib/./libiberty.a
if test -n ""; then
\
          case "" in \
            /*)    thd=;; \
            *)
thd=/home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/include/;;
\
          esac; \
          /bin/sh
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../mkinstalldirs
${thd};
\
          for h in
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/ansidecl.h
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/demangle.h
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/dyn-string.h
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/fibheap.h
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/floatformat.h
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/hashtab.h
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/libiberty.h
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/o!
bjalloc.h
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/partition.h
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/safe-ctype.h
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/sort.h
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/splay-tree.h
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/ternary.h;
do
\
            /usr/bin/install -c -m 644 $h ${thd}; \
          done; \
        fi
make[2]: Entering directory
`/mnt/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/build-binutils/libiberty/testsuite'
make[2]: Nothing to be done for
`install'.
make[2]: Leaving directory
`/mnt/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/build-binutils/libiberty/testsuite'
make[1]: Leaving
directory
`/mnt/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/build-binutils/libiberty'
+
test
x/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/gcc-core-prefix
'!='
x/home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2
+ mkdir -p
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/gcc-core-prefix/alpha-dec-osf3.2/bin
+ for tool in ar as ld
strip
+ rm -f
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/gcc-core-prefix/alpha-dec-osf3.2/bin/ar
+ ln
-s
/home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/bin/alpha-dec-osf3.2-ar
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/gcc-core-prefix/alpha-dec-osf3.2/bin/ar
+ for tool in ar as ld
strip
+ rm -f
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/gcc-core-prefix/alpha-dec-osf3.2/bin/as
+ ln
-s
/home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/bin/alpha-dec-osf3.2-as
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/gcc-core-prefix/alpha-dec-osf3.2/bin/as
+ for tool in ar as ld
strip
+ rm -f
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/gcc-core-prefix/alpha-dec-osf3.2/bin/ld
+ ln
-s
/home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/bin/alpha-dec-osf3.2-ld
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/gcc-core-prefix/alpha-dec-osf3.2/bin/ld
+ for tool in ar as ld
strip
+ rm -f
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/gcc-core-prefix/alpha-dec-osf3.2/bin/strip
+ ln
-s
/home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/bin/alpha-dec-osf3.2-strip
/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/gcc-core-prefix/alpha-dec-osf3.2/bin/strip
+ cd
..
+ logresult binutils
/home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/bin/alpha-dec-osf3.2-ld
+ test
-x
/home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/bin/alpha-dec-osf3.2-ld
+ abort Build failed during
binutils
+ echo crosstool: Build failed during binutils
crosstool: Build failed during binutils
+ exec false




I checked and saw that
/home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/bin/alpha-dec-osf3.2-ld
 actually doesn't exist and I just these files exist in that directory.

alpha-dec-osf3.2-addr2line  alpha-dec-osf3.2-nm       alpha-dec-osf3.2-readelf
alpha-dec-osf3.2-ar         alpha-dec-osf3.2-objcopy  alpha-dec-osf3.2-size
alpha-dec-osf3.2-c++filt    alpha-dec-osf3.2-objdump  alpha-dec-osf3.2-strings
alpha-dec-osf3.2-gprof      alpha-dec-osf3.2-ranlib   alpha-dec-osf3.2-strip

I also checked the space on my computer. and I have 9 GB free.
Would you please help me with this problem and let me know if I should select
another gcc-glibc version or if there is any patch to remove this error?

Thanks,
Naghmeh



^ permalink raw reply	[flat|nested] 9+ messages in thread
* SRM keyboard problem
@ 2008-03-20 11:06 oliver.heid
  2008-03-20 11:41 ` tom
  0 siblings, 1 reply; 9+ messages in thread
From: oliver.heid @ 2008-03-20 11:06 UTC (permalink / raw)


Update: Got the graphical console back to work. Since the srm manual is a bit short here: The trick (obviously) is to remove the keyboard, mouse and - essential ! - also the VGA cable, set "console" to serial (via rs232), power cycle, set "console" back to graphics (via rs232), power off again, connect keyboard, mouse and video, power on, and voila!
I seem to have booted the machine once with either vga or keyboard unplugged.
    Oliver

----- Originalnachricht -----
Von: axp-list-bounces at redhat.com <axp-list-bounces at redhat.com>
An: axp-list at redhat.com <axp-list at redhat.com>
Gesendet: Wed Mar 19 08:54:37 2008
Betreff: AW: RE: SRM keyboard problem

Hello all,
Thanks for the help! I can indeed access the srm console via serial cable, but it seems odd that the keyboard is dead though "console" is set to "graphics". Doesnt sound to me that this behaviour is according to the manuals.
Still, better than nothing! Thanks again
    Oliver

----- Originalnachricht -----
Von: axp-list-bounces at redhat.com <axp-list-bounces at redhat.com>
An: 'Linux on Alpha processors' <axp-list at redhat.com>
Gesendet: Tue Mar 18 17:31:46 2008
Betreff: RE: SRM keyboard problem

It should be the other way around 

> -----Original Message-----
> From: axp-list-bounces at redhat.com 
> [mailto:axp-list-bounces at redhat.com] On Behalf Of Tom Linden
> Sent: Tuesday, March 18, 2008 9:02 AM
> To: 'Linux on Alpha processors'
> Subject: RE: SRM keyboard problem
> 
> You will likely find someone on comp.os.vms who can answer 
> the question, but IIRC if the console is set to graphics 
> rather than serial this happens
> 
> Does Linux have the consvar command?
> 
> Tom 
> 
> > -----Original Message-----
> > From: axp-list-bounces at redhat.com
> > [mailto:axp-list-bounces at redhat.com] On Behalf Of Heid, Oliver
> > Sent: Tuesday, March 18, 2008 8:41 AM
> > To: Linux on Alpha processors
> > Subject: SRM keyboard problem
> > 
> > Hello guys,
> > Has anybody seen this before, and/or a fix? Since some time the SRM 
> > console on my UP2000+ doesnt react to any keyboard input anymore. I 
> > still get the usual text on blue background.
> > Fortunately linux still boots (auto_action is set to boot), and the 
> > keyboard works as long as linux is up. Shutdown drops me 
> back to SRM, 
> > but deactivates the keyboard. So in effect I cant change any SRM 
> > environment settings. Didnt try out /proc/srm_console so far, for 
> > obvious reasons ;-). I suppose it did not switch to serial console 
> > since I still see all the text output - or am I wrong?
> > Thx in advance!
> > 	Oliver
> > 
> > _______________________________________________
> > axp-list mailing list
> > axp-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/axp-list
> > 
> 
> _______________________________________________
> axp-list mailing list
> axp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/axp-list
> 

_______________________________________________
axp-list mailing list
axp-list at redhat.com
https://www.redhat.com/mailman/listinfo/axp-list

_______________________________________________
axp-list mailing list
axp-list at redhat.com
https://www.redhat.com/mailman/listinfo/axp-list



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-03-21 12:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-20 16:02 I need your help about cross compiler for alpha naghmeh.karimi
2007-09-21 14:54 ` bert.verwoerd
2008-03-18 15:41 ` SRM keyboard problem oliver.heid
2008-03-18 16:01   ` tom
2008-03-18 16:31     ` tom
2008-03-18 16:17   ` johng
  -- strict thread matches above, loose matches on Subject: below --
2008-03-20 11:06 oliver.heid
2008-03-20 11:41 ` tom
2008-03-21 12:15   ` gro.gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox