Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 May 2001 10:33:02 -0700 (PDT)
From:      nork@cityfujisawa.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/27036: All Ports using Mesa3 are required with -pthread.
Message-ID:  <200105021733.f42HX2o52184@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         27036
>Category:       ports
>Synopsis:       All Ports using Mesa3 are required with -pthread.
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 02 10:40:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Norikatsu Shigemura
>Release:        4.3-RC(ports is always current)
>Organization:
>Environment:
FreeBSD sakura 4.3-RC FreeBSD 4.3-RC #11: Thu Apr 19 16:33:48 JST 2001     nork@cityfujisawa.ne.jp:/usr/src/sys/compile/SAKURA  i386

>Description:
I cannot compile many ports(i.e. x11-clocks/glclock, games/gltron, mail/glbiff, ...) using graphics/Mesa3.  Because these are required with -pthread flag in compile or link time.

>How-To-Repeat:
$ cd /usr/ports/x11-clocks
$ make
===>  Extracting for glclock-5.0
>Fix:
adhoc:-)
  env CFLAGS="$CFLAGS -pthread" LDFLAGS="$LDFLAGS -pthread" make install

>Release-Note:
>Audit-Trail:
>Unformatted:
 >> Checksum OK for glclock-5.0.tar.gz.
 ===>   glclock-5.0 depends on shared library: GLU.1 - found
 ===>   glclock-5.0 depends on shared library: X11.6 - found
 ===>  Patching for glclock-5.0
 ===>  Applying FreeBSD patches for glclock-5.0
 ===>  Configuring for glclock-5.0
 ===>  Building for glclock-5.0
 c++ -mcpu=pentiumpro -march=pentiumpro -O -fno-ident -pipe -march=pentiumpro -march=pentiumpro -w -DGLCLOCK_DIR=\"/usr/X11R6/lib/X11/glclock/\" -mcpu=pentiumpro -march=pentiumpro -O -fno-ident -pipe -march=pentiumpro -march=pentiumpro -w -DGLCLOCK_DIR=\" /usr/X11R6/lib/X11/glclock/\" -fexpensive-optimizations -ffast-math  -fomit-frame-pointer -fforce-mem -fforce-addr -c -I/usr/X11R6/include -c glclock.cpp
 c++ -mcpu=pentiumpro -march=pentiumpro -O -fno-ident -pipe -march=pentiumpro -march=pentiumpro -w -DGLCLOCK_DIR=\"/usr/X11R6/lib/X11/glclock/\" -mcpu=pentiumpro -march=pentiumpro -O -fno-ident -pipe -march=pentiumpro -march=pentiumpro -w -DGLCLOCK_DIR=\" /usr/X11R6/lib/X11/glclock/\" -fexpensive-optimizations -ffast-math  -fomit-frame-pointer -fforce-mem -fforce-addr -c -I/usr/X11R6/include -c GLObject.cpp
 c++ -mcpu=pentiumpro -march=pentiumpro -O -fno-ident -pipe -march=pentiumpro -march=pentiumpro -w -DGLCLOCK_DIR=\"/usr/X11R6/lib/X11/glclock/\" -mcpu=pentiumpro -march=pentiumpro -O -fno-ident -pipe -march=pentiumpro -march=pentiumpro -w -DGLCLOCK_DIR=\" /usr/X11R6/lib/X11/glclock/\" -fexpensive-optimizations -ffast-math  -fomit-frame-pointer -fforce-mem -fforce-addr -c -I/usr/X11R6/include -c PNMIO.cpp
 c++ -mcpu=pentiumpro -march=pentiumpro -O -fno-ident -pipe -march=pentiumpro -march=pentiumpro -w -DGLCLOCK_DIR=\"/usr/X11R6/lib/X11/glclock/\" -mcpu=pentiumpro -march=pentiumpro -O -fno-ident -pipe -march=pentiumpro -march=pentiumpro -w -DGLCLOCK_DIR=\" /usr/X11R6/lib/X11/glclock/\" -fexpensive-optimizations -ffast-math  -fomit-frame-pointer -fforce-mem -fforce-addr -c -I/usr/X11R6/include -c MString.cpp
 c++  -mcpu=pentiumpro -march=pentiumpro -O -fno-ident -pipe -march=pentiumpro -march=pentiumpro -w -DGLCLOCK_DIR=\"/usr/X11R6/lib/X11/glclock/\" -fexpensive-optimizations -ffast-math  -fomit-frame-pointer -fforce-mem -fforce-addr -L/usr/X11R6/lib -Wl,-rp ath,/usr/X11R6/lib -o glclock glclock.o GLObject.o PNMIO.o MString.o -lglut -lGLU -lGL -lXext -lXmu -lX11 -lm -lXi
 /usr/X11R6/lib/libGL.so: undefined reference to `pthread_getspecific'
 /usr/X11R6/lib/libGL.so: undefined reference to `pthread_key_create'
 /usr/X11R6/lib/libGL.so: undefined reference to `pthread_setspecific'
 
 *** Error code 1
 
 Stop in /usr/ports/x11-clocks/glclock/work/glclock-5.0.
 *** Error code 1
 
 Stop in /usr/ports/x11-clocks/glclock.
 *** Error code 1
 
 Stop in /usr/ports/x11-clocks/glclock.
 *** Error code 1
 
 Stop in /usr/ports/x11-clocks/glclock.
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105021733.f42HX2o52184>