Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
static plan9 from user space compile problem with latest 9l
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
azathoth99  
View profile  
 More options Jul 28 2010, 9:40 pm
From: azathoth99 <gavcom...@gmail.com>
Date: Wed, 28 Jul 2010 18:40:23 -0700 (PDT)
Local: Wed, Jul 28 2010 9:40 pm
Subject: static plan9 from user space compile problem with latest 9l
http://werc.cat-v.org/docs/tips

The 9l line is now more exotic, and
Changed the existing 9l and ran INSTALL again:
*Linux*)
        ld="${CC9:-gcc} -static"

/usr/local/plan9/src/lib9/_p9dir.c:170: warning: Using 'getgrgid' in
statically linked applications requires at runtime the shared
libraries from the glibc version used for linking
/usr/local/plan9/src/cmd/9660/unix.c:76: warning: Using 'getgrnam' in
statically linked applications requires at runtime the shared
libraries from the glibc version used for linking
/usr/local/plan9/src/cmd/9660/unix.c:60: warning: Using 'getpwnam' in
statically linked applications requires at runtime the shared
libraries from the glibc version used for linking
/usr/local/plan9/src/lib9/_p9dir.c:147: warning: Using 'getpwuid' in
statically linked applications requires at runtime the shared
libraries from the glibc version used for linking

>>> cd /usr/local/plan9/src/cmd/9660srv; mk all

9l -o o.9660srv main.o 9660srv.o xfile.o iobuf.o data.o
/usr/bin/ld: errno: TLS reference in /usr/lib/gcc/i686-pc-linux-gnu/
4.5.0/../../../libpthread.a(ptw-fcntl.o) mismatches non-TLS reference
in main.o
/usr/lib/gcc/i686-pc-linux-gnu/4.5.0/../../../libpthread.a: could not
read symbols: Bad value
collect2: ld returned 1 exit status
mk: 9l -o o.9660srv ...  : exit status=exit(1)
mk: for i in ...  : exit status=exit(1)
mk: for i in ...  : exit status=exit(1)

again but slightly different:

*Linux*)
        ld=${CC9:-"gcc -static"}

/usr/local/plan9/src/lib9/_p9dir.c:170: warning: Using 'getgrgid' in
statically linked applications requires at runtime the shared
libraries from the glibc version used for linking
/usr/local/plan9/src/lib9/_p9dir.c:147: warning: Using 'getpwuid' in
statically linked applications requires at runtime the shared
libraries from the glibc version used for linking
/usr/local/plan9/src/lib9/_p9dialparse.c:134: warning: Using
'gethostbyname' in statically linked applications requires at runtime
the shared libraries from the glibc version used for linking
/usr/local/plan9/src/lib9/_p9dialparse.c:144: warning: Using
'getservbyname' in statically linked applications requires at runtime
the shared libraries from the glibc version used for linking

>>> cd /usr/local/plan9/src/cmd; mk all

9l -o o.tail tail.o
/usr/local/plan9/src/lib9/_p9dir.c:170: warning: Using 'getgrgid' in
statically linked applications requires at runtime the shared
libraries from the glibc version used for linking
/usr/local/plan9/src/lib9/_p9dir.c:147: warning: Using 'getpwuid' in
statically linked applications requires at runtime the shared
libraries from the glibc version used for linking
>>> cd /usr/local/plan9/src/cmd; mk all

9l -o o.tar tar.o
/usr/local/plan9/src/lib9/_p9dir.c:170: warning: Using 'getgrgid' in
statically linked applications requires at runtime the shared
libraries from the glibc version used for linking
/usr/local/plan9/src/lib9/_p9dir.c:147: warning: Using 'getpwuid' in
statically linked applications requires at runtime the shared
libraries from the glibc version used for linking
>>> cd /usr/local/plan9/src/cmd; mk all

9l -o o.test test.o
/usr/local/plan9/src/lib9/_p9dir.c:170: warning: Using 'getgrgid' in
statically linked applications requires at runtime the shared
libraries from the glibc version used for linking
/usr/local/plan9/src/lib9/_p9dir.c:147: warning: Using 'getpwuid' in
statically linked applications requires at runtime the shared
libraries from the glibc version used for linking
>>> cd /usr/local/plan9/src/cmd/9660; mk all

9l -o o.dump9660 boot.o cdrdwr.o conform.o direc.o dump.o dump9660.o
ichar.o jchar.o path.o unix.o rune.o sysuse.o util.o write.o
/usr/local/plan9/src/lib9/_p9dir.c:170: warning: Using 'getgrgid' in
statically linked applications requires at runtime the shared
libraries from the glibc version used for linking
/usr/local/plan9/src/cmd/9660/unix.c:76: warning: Using 'getgrnam' in
statically linked applications requires at runtime the shared
libraries from the glibc version used for linking
/usr/local/plan9/src/cmd/9660/unix.c:60: warning: Using 'getpwnam' in
statically linked applications requires at runtime the shared
libraries from the glibc version used for linking
/usr/local/plan9/src/lib9/_p9dir.c:147: warning: Using 'getpwuid' in
statically linked applications requires at runtime the shared
libraries from the glibc version used for linking
>>> cd /usr/local/plan9/src/cmd/9660srv; mk all

9l -o o.9660srv main.o 9660srv.o xfile.o iobuf.o data.o
/usr/bin/ld: errno: TLS reference in /usr/lib/gcc/i686-pc-linux-gnu/
4.5.0/../../../libpthread.a(ptw-fcntl.o) mismatches non-TLS reference
in main.o
/usr/lib/gcc/i686-pc-linux-gnu/4.5.0/../../../libpthread.a: could not
read symbols: Bad value
collect2: ld returned 1 exit status
mk: 9l -o o.9660srv ...  : exit status=exit(1)
mk: for i in ...  : exit status=exit(1)
mk: for i in ...  : exit status=exit(1)

Please let me know if there is a workaround.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jacob Todd  
View profile  
 More options Jul 29 2010, 3:12 am
From: Jacob Todd <jaketodd...@gmail.com>
Date: Thu, 29 Jul 2010 03:12:27 -0400
Local: Thurs, Jul 29 2010 3:12 am
Subject: Re: static plan9 from user space compile problem with latest 9l

On Wed, Jul 28, 2010 at 06:40:23PM -0700, azathoth99 wrote:
> Please let me know if there is a workaround.

Not at this time. I blame glibc.

  application_pgp-signature_part
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »