Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Stephen Williams <steve@icarus.com>
To: axp-list@redhat.com
Subject: Alpha linker problems
Date: Sun, 26 Mar 2000 09:41:08 -0800	[thread overview]
Message-ID: <200003261741.JAA26392@icarus.com> (raw)


I'm working on a Verilog compiler that generates C++ code. This generally
works pretty well, but I'm having troubles with some larger Verilog source
files. To wit:

icarus.com % sh go.sh
+ ./ivl -P a.pf -N a.net -fVPI_MODULE_PATH=vpi -sm16x16 -Fcprop -Fnodangle -tvvm -ofoo.cc foo.vl
+ g++ -g -O -rdynamic -fno-exceptions -Ivvm -Ivpi -Lvvm foo.cc -lvvm -ldl
/usr/bin/ld: /tmp/ccIBXz4j.o: .got subsegment exceeds 64K (size 138800)
/usr/bin/ld: failed to set dynamic section sizes: No such file or directory
collect2: ld returned 1 exit status

I'm only having this problem on my alpha. People on Linux/ix86, Solaris
etc. are not having these difficulties. I don't understand what the .got
section is, why it is limited to 64K and why my code so thoroughly over-
flows that section.

This is a real impediment to using my alpha for this sort of thing, so I
need to find a way to get past this. Real hardware simulations are real
big, so I really need to find a way to cope. It has been suggested to me
that reducing symbols helps, and I have done some of that, but the problem
seems to have actually become *worse*.

icarus.com % ld -v
GNU ld version 2.9.1 (with BFD 2.9.1.0.24)
icarus.com % g++ -v
Reading specs from /usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
icarus.com % as -v
GNU assembler version 2.9.1 (alpha-redhat-linux), using BFD version 2.9.1.0.24


-- 
Steve Williams                "The woods are lovely, dark and deep.
steve@icarus.com              But I have promises to keep,
steve@picturel.com            and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."



             reply	other threads:[~2000-03-26 17:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-26 17:41 Stephen Williams [this message]
2000-03-26 20:01 ` Alpha linker problems Greg Lindahl
2000-03-26 21:27   ` Stephen Williams
2000-03-26 21:41     ` Rich Payne
2000-03-26 22:50     ` Greg Lindahl
2000-03-26 23:30       ` tibor
2000-03-27  2:27         ` Rich Payne
2000-03-27  2:40 ` Richard Henderson
2000-03-27  4:42   ` Greg Lindahl
2000-03-27  5:00     ` Stephen Williams
2000-03-27  5:04       ` Greg Lindahl
2000-03-27 21:23       ` Richard Henderson
read-only archive

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