9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] vx32 compilation under Linux
@ 2008-07-11 20:32 ISHWAR RATTAN
  2008-07-11 20:38 ` andrey mirtchovski
  0 siblings, 1 reply; 4+ messages in thread
From: ISHWAR RATTAN @ 2008-07-11 20:32 UTC (permalink / raw)
  To: 9fans


System:
Linux tigaon 2.6.25-4.slh.3-sidux-686 #1 SMP PREEMPT Fri May 23 21:58:49 UTC
2008 i686 GNU/Linux

$ cd src; make

produces the error: (seems to be missing gcclib.a?):
..
ld -o vxa/zlib/ezlib -Llibvxc -L -g -L.  libvxc/vx32/crt0.o vxa/zlib/ezlib.vo
vxa/zlib/compress.vo vxa/zlib/deflate.vo vxa/zlib/trees.vo vxa/zlib/adler32.vo
vxa/zlib/crc32.vo vxa/zlib/zutil.vo -lc -lgcc
ld: cannot find -lgcc
make: *** [vxa/zlib/ezlib] Error 1
$

Any pointers?
-ishwar





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

* Re: [9fans] vx32 compilation under Linux
  2008-07-11 20:32 [9fans] vx32 compilation under Linux ISHWAR RATTAN
@ 2008-07-11 20:38 ` andrey mirtchovski
  2008-07-13 17:43   ` ISHWAR RATTAN
  0 siblings, 1 reply; 4+ messages in thread
From: andrey mirtchovski @ 2008-07-11 20:38 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

change the definition of VX32_LDFLAGS in src/Makefrag to:

VX32_LDFLAGS := -Llibvxc -L$(dir $(shell gcc -m32 -print-libgcc-file-name)) \


On Fri, Jul 11, 2008 at 2:32 PM, ISHWAR RATTAN <rattan@cps.cmich.edu> wrote:
>
> System:
> Linux tigaon 2.6.25-4.slh.3-sidux-686 #1 SMP PREEMPT Fri May 23 21:58:49 UTC
> 2008 i686 GNU/Linux
>
> $ cd src; make
>
> produces the error: (seems to be missing gcclib.a?):
> ..
> ld -o vxa/zlib/ezlib -Llibvxc -L -g -L.  libvxc/vx32/crt0.o
> vxa/zlib/ezlib.vo vxa/zlib/compress.vo vxa/zlib/deflate.vo vxa/zlib/trees.vo
> vxa/zlib/adler32.vo vxa/zlib/crc32.vo vxa/zlib/zutil.vo -lc -lgcc
> ld: cannot find -lgcc
> make: *** [vxa/zlib/ezlib] Error 1
> $
>
> Any pointers?
> -ishwar
>
>
>
>



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

* Re: [9fans] vx32 compilation under Linux
  2008-07-11 20:38 ` andrey mirtchovski
@ 2008-07-13 17:43   ` ISHWAR RATTAN
  2008-07-14 16:21     ` Russ Cox
  0 siblings, 1 reply; 4+ messages in thread
From: ISHWAR RATTAN @ 2008-07-13 17:43 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs



On Fri, 11 Jul 2008, andrey mirtchovski wrote:

> change the definition of VX32_LDFLAGS in src/Makefrag to:
>
> VX32_LDFLAGS := -Llibvxc -L$(dir $(shell gcc -m32 -print-libgcc-file-name)) \

With this change I get the error:
..
$ ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in vxa/zlib/ezlib.vo
/lib/libc.so.6: could not read symbols: Bad value
make: *** [vxa/zlib/ezlib] Error 1
$

-ishwar



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

* Re: [9fans] vx32 compilation under Linux
  2008-07-13 17:43   ` ISHWAR RATTAN
@ 2008-07-14 16:21     ` Russ Cox
  0 siblings, 0 replies; 4+ messages in thread
From: Russ Cox @ 2008-07-14 16:21 UTC (permalink / raw)
  To: 9fans

> $ ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in vxa/zlib/ezlib.vo
> /lib/libc.so.6: could not read symbols: Bad value
> make: *** [vxa/zlib/ezlib] Error 1
> $

Install the cross compilers and change the top-level Makefrag
to use vx32-gcc and vx32-ld.  There are directions for
installing them at

http://pdos.csail.mit.edu/~baford/vm/

Russ



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

end of thread, other threads:[~2008-07-14 16:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-11 20:32 [9fans] vx32 compilation under Linux ISHWAR RATTAN
2008-07-11 20:38 ` andrey mirtchovski
2008-07-13 17:43   ` ISHWAR RATTAN
2008-07-14 16:21     ` Russ Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).