[pcre-dev] [Bug 709] pcretest crashes during Test 2

Top Page
Delete this message
Author: Andrea Govoni
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 709] pcretest crashes during Test 2
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=709




--- Comment #1 from Andrea Govoni <xfox@???> 2008-05-16 16:59:27 ---
Sorry for the truncated report, I inadvertently hit the Return key.
Let's continue.

*Steps to Reproduce*
1) Configure pcre-7.7 with the following command:
./configure --enable-utf8 --enable-unicode-properties --disable-shared
--enable-pcregrep-libz CFLAGS=-L/usr/local/lib LDFLAGS=-Wl,-search_paths_first
2) Run "make".
3) Run "make check".

*Actual Results*
Test 2 fails because pcretest crashes.

*Expected Results*
All the test should succeed.

*Build Date & Platform*
Mac OS X 10.4.11 PPC
Xcode Tools 2.5 (GCC 4.0.1)

*Additional Information*
The specific CFLAGS and LDFLAGS I submitted to configure are needed because I'm
trying to link the PCRE executables and libraries with the static version of
zlib (libz.a) that I have in /usr/local/lib.
The zlib version is 1.2.3.
To understand why I need to pass -search_paths_first to the linker please refer
to:
http://developer.apple.com/qa/qa2006/qa1393.html
http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/ld.1.html
The build succeeds without any warnings but the test suite fails.


P.S.
I tried to choose 7.7 as the PCRE version from the drop-down menu but the list
seems outdated.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email