Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Alpha linker problems
@ 2000-03-26 17:41 Stephen Williams
  2000-03-26 20:01 ` Greg Lindahl
  2000-03-27  2:40 ` Richard Henderson
  0 siblings, 2 replies; 12+ messages in thread
From: Stephen Williams @ 2000-03-26 17:41 UTC (permalink / raw)
  To: axp-list


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."



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

end of thread, other threads:[~2000-03-27 21:23 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-26 17:41 Alpha linker problems Stephen Williams
2000-03-26 20:01 ` 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

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