pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/37758: x11/qt4-libs + debug configures symbol visibility incorrectly
>Number: 37758
>Category: pkg
>Synopsis: x11/qt4-libs + debug configures symbol visibility incorrectly
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 14 23:30:00 +0000 2008
>Originator: Sverre Froyen
>Release: NetBSD 4.99.47
>Organization:
Viewmark
>Environment:
System: NetBSD abbor.viewmark.com 4.99.47 NetBSD 4.99.47 (ABBOR) #58: Wed Jan 2
10:13:21 MST 2008
toor%abbor.viewmark.com@localhost:/usr/src/objdir/sys/arch/i386/compile.i386/ABBOR
i386
Architecture: i386
Machine: i386
>Description:
When x11/qt4-libs is built with the debug option set, the configuration
script disables symbol visibility. This causes a conflict later when
building kdelibs4.
>How-To-Repeat:
# Add PKG_DEFAULT_OPTIONS+=debug to /etc/mk.conf
cd /usr/pkgsrc/x11/qt4-libs
make
# Wait until source has been extracted
# Edit work.i386/qt-x11-opensource-src-4.3.3/configure and add
# echo TEST_COMPILER = $TEST_COMPILER
# OPT_VERBOSE=yes
# just before the call to $unixtests/fvisibility.test
make > MAKE_LOG 2>&1 &
# Wait until after the configuration phase
grep 'Symbol visibility' MAKE_LOG
# Observe that symbol visibility is disabled.
# Observe that TEST_COMPILER equals "gcc -ggdb"
>Fix:
Three choices:
(1) do not add the -ggdb to CC in options.mk
(2) Patch configure to skip flags when setting TEST_COMPILER from CC
(3) Patch fvisibility.test to handle compiler flag
Home |
Main Index |
Thread Index |
Old Index