lamuguo / re2

Automatically exported from code.google.com/p/re2
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

filtered_re2_test fails when dynamically linked #87

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
> What steps will reproduce the problem?
1. Run `make test'

> What is the expected output? What do you see instead?

Expected: ALL TESTS PASSED

Delivered: filtered_re2_test fails at line 35 when dynamically linked. Somehow 
v.atoms.size() evaluates to 2 when dynamically linked, but 0 when statically 
linked.

> What version of the product are you using? On what operating system?

re2-20130802

OS: Ubuntu Linux 12.04
Compilers: Both g++ 4.6.3 and clang++ .30

Also bombs on a proprietary distro using comparatively ancient toolchain.

Attached patch derived from PLD Linux repo: 
https://github.com/pld-linux/re2/blob/master/symbols.patch

Original issue reported on code.google.com by will...@xeraradio.com on 14 Aug 2013 at 10:47

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 975db9909185.

Original comment by rsc@swtch.com on 10 Jan 2014 at 1:49