Re: XFree86-4-libraries build error

2002-05-30 Thread Dag-Erling Smorgrav

Peter Schultz <[EMAIL PROTECTED]> writes:
> Amazing, the obvious.  Now I get this:

Hmm, I didn't get any more trouble after I fixed the pragma problem.

DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: XFree86-4-libraries build error

2002-05-30 Thread Kris Kennaway

On Wed, May 29, 2002 at 11:38:57PM -0500, Peter Schultz wrote:
> I'm getting the following error on a just built -current, which was a 
> fresh install of 5.0-CURRENT-20020519-JPSNAP:

Yes, and if you'd been reading the mailing list like you're supposed
to you would have already known about this.

Kris



msg39019/pgp0.pgp
Description: PGP signature


Re: XFree86-4-libraries build error

2002-05-30 Thread Peter Schultz

Dag-Erling Smorgrav wrote:
 > Alfred Perlstein <[EMAIL PROTECTED]> writes:
 >
 >>* Peter Wemm <[EMAIL PROTECTED]> [020530 01:01] wrote:
 >>
 >>>gcc-3.1 appears to have broken
 >>>#pragma weak foo = bar
 >>
 >>What's the correct way to do this now?
 >
 >
 > #pragma weak foo = "bar"
 >
 > as you'd have guessed if you'd bothered to read the error message and
 > look at the code
 >
 > DES

Amazing, the obvious.  Now I get this:

rm -f ../../../../../lib/GL/mesa/src/translate.o
unshared/../../../../../lib/GL/mesa/src/translate.o
LD_LIBRARY_PATH=../../../../../exports/lib cc -c -ansi -pedantic
-Dasm=__asm -Wall -Wpointer-arith  -I../../../../../exports/include/X11
-I../../../../../include/extensions
-I../../../../../extras/Mesa/src/OSmesa -I../../../../../extras/Mesa/src
-I../../../../../extras/Mesa/include   -I../../../../..
-I../../../../../exports/include   -DCSRG_BASED  -DFUNCPROTO=15
-DNARROWPROTO -DXTHREADS   -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI
-DMALLOC_0_RETURNS_NULL  ../../../../../lib/GL/mesa/src/translate.c
-o unshared/../../../../../lib/GL/mesa/src/translate.o
Assembler messages:
FATAL: can't create unshared/../../../../../lib/GL/mesa/src/translate.o:
No such file or directory
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib/GL/mesa/src/OSmesa.


The make needs to go back one more level:
unshared/../../../../../../lib/GL/mesa/src/translate.o

How to do this, I do not know.

Pete...


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: XFree86-4-libraries build error

2002-05-30 Thread Dag-Erling Smorgrav

Alfred Perlstein <[EMAIL PROTECTED]> writes:
> * Peter Wemm <[EMAIL PROTECTED]> [020530 01:01] wrote:
> > gcc-3.1 appears to have broken
> > #pragma weak foo = bar
> What's the correct way to do this now?

#pragma weak foo = "bar"

as you'd have guessed if you'd bothered to read the error message and
look at the code

DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: XFree86-4-libraries build error

2002-05-30 Thread Mark Murray

> > > #pragma weak foo = bar
> > 
> > What's the correct way to do this now?
> 
> I dont know. :-(  There are hacks that can work around it, but I think this
> is unintentional breakage.  I tried changing this:
> #pragma weak foo = bar
> to
> __weak_reference(bar, foo);

void f () __attribute__ ((weak, alias ("__f")));
(But that may come to the same thing).

M
-- 
o   Mark Murray
\_
O.\_Warning: this .sig is umop ap!sdn

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: XFree86-4-libraries build error

2002-05-30 Thread Peter Wemm

Alfred Perlstein wrote:
> * Peter Wemm <[EMAIL PROTECTED]> [020530 01:01] wrote:
> > Wilko Bulte wrote:
> > > On Wed, May 29, 2002 at 11:38:57PM -0500, Peter Schultz wrote:
> > > 
> > > FWIW: same here yesterday. I have not yet investigated what's up
> > 
> > gcc-3.1 appears to have broken
> > #pragma weak foo = bar
> 
> What's the correct way to do this now?

I dont know. :-(  There are hacks that can work around it, but I think this
is unintentional breakage.  I tried changing this:
#pragma weak foo = bar
to
__weak_reference(bar, foo);

But I didn't get much further since Xfree86 was provoking internal compiler
errors.  Turning off -O entirely got around it a few times, and then I had
more failures with lack of c++ libraries. The end result of all the futzing
around ended up with a set of binaries that were basically hosed and
usually segfaulted on startup.

Shortly after that point, I then managed to panic my system (running 5.x)
and said "to hell with it" and did a pkg_add -r to install it instead.

I'm in the middle of moving, so I haven't had much more of a chance to look
at it.  There are GCC bugs involved.

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: XFree86-4-libraries build error

2002-05-30 Thread Alfred Perlstein

* Peter Wemm <[EMAIL PROTECTED]> [020530 01:01] wrote:
> Wilko Bulte wrote:
> > On Wed, May 29, 2002 at 11:38:57PM -0500, Peter Schultz wrote:
> > 
> > FWIW: same here yesterday. I have not yet investigated what's up
> 
> gcc-3.1 appears to have broken
> #pragma weak foo = bar

What's the correct way to do this now?

-Alfred

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: XFree86-4-libraries build error

2002-05-30 Thread Peter Wemm

Wilko Bulte wrote:
> On Wed, May 29, 2002 at 11:38:57PM -0500, Peter Schultz wrote:
> 
> FWIW: same here yesterday. I have not yet investigated what's up

gcc-3.1 appears to have broken
#pragma weak foo = bar

> Wilko
> 
> > I'm getting the following error on a just built -current, which was a 
> > fresh install of 5.0-CURRENT-20020519-JPSNAP:
> > 
> > installing in lib/XThrStub...
> > rm -f UIThrStubs.o
> > LD_LIBRARY_PATH=../../exports/lib cc -c -O -pipe-ansi -pedantic 
> > -Dasm=__asm
> > -Wall -Wpointer-arith -I../.. -I../../exports/include   -DCSRG_BASED 
> >   -DFUNC
> > PROTO=15 -DNARROWPROTO -DXTHREADS   -DXUSE_MTSAFE_API 
> > -DXNO_MTSAFE_PWDAPI-DM
> > ALLOC_0_RETURNS_NULL-ansi -pedantic -Dasm=__asm -Wall 
> > -Wpointer-arith-I.
> > ./.. -I../../exports/include   -DCSRG_BASED  -DFUNCPROTO=15 
> > -DNARROWPROTO -DXTHR
> > EADS   -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI-DMALLOC_0_RETURNS_NULL 
> >  -fPI
> > C UIThrStubs.c
> > UIThrStubs.c:102: alias arg not a string
> > UIThrStubs.c:103: alias arg not a string
> > UIThrStubs.c:104: alias arg not a string
> > UIThrStubs.c:105: alias arg not a string
> > UIThrStubs.c:106: alias arg not a string
> > UIThrStubs.c:107: alias arg not a string
> > UIThrStubs.c:108: alias arg not a string
> > UIThrStubs.c:109: alias arg not a string
> > UIThrStubs.c:110: alias arg not a string
> > UIThrStubs.c:111: alias arg not a string
> > UIThrStubs.c:113: alias arg not a string
> > UIThrStubs.c:114: alias arg not a string
> > UIThrStubs.c:115: alias arg not a string
> > UIThrStubs.c:131: warning: `_Xthr_self_stub_' defined but not used
> > UIThrStubs.c:139: warning: `_Xthr_zero_stub_' defined but not used
> > *** Error code 1
> > 
> > Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib/XThrStub.
> > 
> > Pete...
> > 
> > 
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-current" in the body of the message
> ---end of quoted text---
> 
> -- 
> |   / o / /_  _   [EMAIL PROTECTED]
> |/|/ / / /(  (_)  Bulte   Arnhem, the Netherlands
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: XFree86-4-libraries build error

2002-05-29 Thread Wilko Bulte

On Wed, May 29, 2002 at 11:38:57PM -0500, Peter Schultz wrote:

FWIW: same here yesterday. I have not yet investigated what's up

Wilko

> I'm getting the following error on a just built -current, which was a 
> fresh install of 5.0-CURRENT-20020519-JPSNAP:
> 
> installing in lib/XThrStub...
> rm -f UIThrStubs.o
> LD_LIBRARY_PATH=../../exports/lib cc -c -O -pipe-ansi -pedantic 
> -Dasm=__asm
> -Wall -Wpointer-arith -I../.. -I../../exports/include   -DCSRG_BASED 
>   -DFUNC
> PROTO=15 -DNARROWPROTO -DXTHREADS   -DXUSE_MTSAFE_API 
> -DXNO_MTSAFE_PWDAPI-DM
> ALLOC_0_RETURNS_NULL-ansi -pedantic -Dasm=__asm -Wall 
> -Wpointer-arith-I.
> ./.. -I../../exports/include   -DCSRG_BASED  -DFUNCPROTO=15 
> -DNARROWPROTO -DXTHR
> EADS   -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI-DMALLOC_0_RETURNS_NULL 
>  -fPI
> C UIThrStubs.c
> UIThrStubs.c:102: alias arg not a string
> UIThrStubs.c:103: alias arg not a string
> UIThrStubs.c:104: alias arg not a string
> UIThrStubs.c:105: alias arg not a string
> UIThrStubs.c:106: alias arg not a string
> UIThrStubs.c:107: alias arg not a string
> UIThrStubs.c:108: alias arg not a string
> UIThrStubs.c:109: alias arg not a string
> UIThrStubs.c:110: alias arg not a string
> UIThrStubs.c:111: alias arg not a string
> UIThrStubs.c:113: alias arg not a string
> UIThrStubs.c:114: alias arg not a string
> UIThrStubs.c:115: alias arg not a string
> UIThrStubs.c:131: warning: `_Xthr_self_stub_' defined but not used
> UIThrStubs.c:139: warning: `_Xthr_zero_stub_' defined but not used
> *** Error code 1
> 
> Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib/XThrStub.
> 
> Pete...
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
---end of quoted text---

-- 
|   / o / /_  _ [EMAIL PROTECTED]
|/|/ / / /(  (_)  Bulte Arnhem, the Netherlands

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



XFree86-4-libraries build error

2002-05-29 Thread Peter Schultz

I'm getting the following error on a just built -current, which was a 
fresh install of 5.0-CURRENT-20020519-JPSNAP:

installing in lib/XThrStub...
rm -f UIThrStubs.o
LD_LIBRARY_PATH=../../exports/lib cc -c -O -pipe-ansi -pedantic 
-Dasm=__asm
-Wall -Wpointer-arith -I../.. -I../../exports/include   -DCSRG_BASED 
  -DFUNC
PROTO=15 -DNARROWPROTO -DXTHREADS   -DXUSE_MTSAFE_API 
-DXNO_MTSAFE_PWDAPI-DM
ALLOC_0_RETURNS_NULL-ansi -pedantic -Dasm=__asm -Wall 
-Wpointer-arith-I.
./.. -I../../exports/include   -DCSRG_BASED  -DFUNCPROTO=15 
-DNARROWPROTO -DXTHR
EADS   -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI-DMALLOC_0_RETURNS_NULL 
 -fPI
C UIThrStubs.c
UIThrStubs.c:102: alias arg not a string
UIThrStubs.c:103: alias arg not a string
UIThrStubs.c:104: alias arg not a string
UIThrStubs.c:105: alias arg not a string
UIThrStubs.c:106: alias arg not a string
UIThrStubs.c:107: alias arg not a string
UIThrStubs.c:108: alias arg not a string
UIThrStubs.c:109: alias arg not a string
UIThrStubs.c:110: alias arg not a string
UIThrStubs.c:111: alias arg not a string
UIThrStubs.c:113: alias arg not a string
UIThrStubs.c:114: alias arg not a string
UIThrStubs.c:115: alias arg not a string
UIThrStubs.c:131: warning: `_Xthr_self_stub_' defined but not used
UIThrStubs.c:139: warning: `_Xthr_zero_stub_' defined but not used
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib/XThrStub.

Pete...


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message