Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2012 10:59:36 +0800
From:      Johnny Sun <johnny@interpro.com.hk>
To:        python@FreeBSD.org
Subject:   Ports-tree lang/python27 won't compile (After upgrade 8.2-RELEASE-i386->9.0-RELEASE-i386)
Message-ID:  <4F3C7118.10601@interpro.com.hk>

index | next in thread | raw e-mail

Hi,

Ports-tree lang/python27 won't compile properly.  Errors with undefined
reference to _sem_timedwait, etc.

=========================================================
cc -c -fno-strict-aliasing -O2 -pipe  -fno-strict-aliasing -DNDEBUG -O2
-pipe  -fno-strict-aliasing  -I. -IInclude -I./../Include -fPIC
-DPy_BUILD_CORE -o Modules/python.o ./../Modules/python.c
cc -pthread -Wl,--export-dynamic -o python  Modules/python.o  -L.
-lpython2.7 -lutil   -lm
./libpython2.7.so: undefined reference to `_sem_timedwait'
./libpython2.7.so: undefined reference to `_sem_getvalue'
./libpython2.7.so: undefined reference to `_sem_destroy'
./libpython2.7.so: undefined reference to `_sem_wait'
./libpython2.7.so: undefined reference to `_sem_init'
./libpython2.7.so: undefined reference to `_sem_post'
./libpython2.7.so: undefined reference to `_sem_trywait'
*** Error code 1

Stop in /usr/ports/lang/python27/work/Python-2.7.2/portbld.shared.
*** Error code 1

Stop in /usr/ports/lang/python27.
*** Error code 1

Stop in /usr/ports/lang/python27.
=========================================================

Used *portsnap* to update to latest ports-tree.  make rmconfig & make
clean does not solve the problem.

Compiled NOT okay
9.0-RELEASE-i386 version (upgraded from 8.2 using freebsd-update), using
P3/P4 era celeron CPU
Fresh Install 8.2-i386 (without any ports), then immediately upgrade to
9.0 using freebsd-update

Compile Okay:
Fresh install 9.0-RELEASE-386
8.2->9.0-AMD64

Any idea?  Thank you in advance.

-- 
Best Regards,
Johnny Sun
Email: johnny@interpro.com.hk


help

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