summaryrefslogtreecommitdiff
path: root/devel/linuxthreads/files/README.FreeBSD
diff options
context:
space:
mode:
authorTor Egge <tegge@FreeBSD.org>2002-06-08 18:27:19 +0000
committerTor Egge <tegge@FreeBSD.org>2002-06-08 18:27:19 +0000
commit7c73d7524cc42ca777cf49b8a93ee244289db5a7 (patch)
tree20fc047a242e344c7ad1794f4e9c31187bb87d42 /devel/linuxthreads/files/README.FreeBSD
parentdevel/ruby-strscan has been replaced with lang/ruby16-shim-ruby18. (diff)
Build linuxthreads version of libstdc++ and libsupc++ under 5.0-CURRENT.
Don't misuse DESTDIR when building linuxthreads version of libgcc. Fix varargs warning under 5.0-CURRENT. Don't try to register profiled libraries when NOPROFILE has been specified. Don't try to register shared libraries when NOPIC has been specified. Bump port revision. PR: 38876
Notes
Notes: svn path=/head/; revision=60883
Diffstat (limited to 'devel/linuxthreads/files/README.FreeBSD')
-rw-r--r--devel/linuxthreads/files/README.FreeBSD12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/linuxthreads/files/README.FreeBSD b/devel/linuxthreads/files/README.FreeBSD
index 13aa5b376e46..8cd203c2dca7 100644
--- a/devel/linuxthreads/files/README.FreeBSD
+++ b/devel/linuxthreads/files/README.FreeBSD
@@ -72,9 +72,21 @@ set at 20 + 16 * MAXUSERS.
4) Be aware of the following libgcc issue:
+ FreeBSD 4.* (gcc 2.*):
+
__register_frame_info() and __get_eh_info() from libgcc.a are linked
into shared libraries that use exceptions, e.g. libstdc++. Those
functions are not compatible with linuxthreads due to pthread_mutex_t
and pthread_once_t having different sizes and static initializers.
Linking the shared linuxthreads library before any such library causes
the liblgcc_r.a version of those functions to be used.
+
+ FreeBSD 5.* (gcc 3.*):
+
+ __register_frame_info() and __frame_state_for() from libgcc.a are
+ linked into shared libraries that use exceptions, e.g. libstdc++.
+ Those functions are not compatible with linuxthreads due to
+ pthread_mutex_t and pthread_once_t having different sizes and static
+ initializers. Linking the shared linuxthreads library before any such
+ library causes the liblgcc_r.a version of those functions to be used.
+ Use liblstdc++ and liblsupc++.