tst2005googlecode / re2

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

need MemoryBarrier for PowerPC #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. hg clone -> cd re2 -> make test -> "make: *** [obj/libre2.a] Error 1"
2.
3.

What is the expected output? What do you see instead?
I expected "make done.", but got Error.

What version of the product are you using? On what operating system?
bash-3.2$ uname -v
Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-
1228.15.4~1/RELEASE_PPC

Please provide any additional information below.
----- make log -------
bash-3.2$ hg clone https://re2.googlecode.com/hg re2
requesting all changes
adding changesets
adding manifests
adding file changes
added 11 changesets with 127 changes to 111 files
updating working directory
111 files updated, 0 files merged, 0 files removed, 0 files unresolved
bash-3.2$ cd re2
bash-3.2$ ls
./      AUTHORS     README      re2/
../     CONTRIBUTORS    benchlog/   runtests*
.hg/        LICENSE     doc/        testinstall.cc
.hgignore   Makefile    lib/        util/
bash-3.2$ make test
g++ -o obj/util/arena.o -c -Wall -Wno-sign-compare -O3 -g -I.  util/arena.cc 
2>&1 | sed 5q
g++ -o obj/util/hash.o -c -Wall -Wno-sign-compare -O3 -g -I.  util/hash.cc 2>&1 
| sed 5q
g++ -o obj/util/rune.o -c -Wall -Wno-sign-compare -O3 -g -I.  util/rune.cc 2>&1 
| sed 5q
g++ -o obj/util/stringpiece.o -c -Wall -Wno-sign-compare -O3 -g -I.  
util/stringpiece.cc 
2>&1 | sed 5q
g++ -o obj/util/stringprintf.o -c -Wall -Wno-sign-compare -O3 -g -I.  
util/stringprintf.cc 
2>&1 | sed 5q
g++ -o obj/util/strutil.o -c -Wall -Wno-sign-compare -O3 -g -I.  
util/strutil.cc 2>&1 | sed 5q
g++ -o obj/re2/bitstate.o -c -Wall -Wno-sign-compare -O3 -g -I.  
re2/bitstate.cc 2>&1 | sed 
5q
g++ -o obj/re2/compile.o -c -Wall -Wno-sign-compare -O3 -g -I.  re2/compile.cc 
2>&1 | sed 
5q
g++ -o obj/re2/dfa.o -c -Wall -Wno-sign-compare -O3 -g -I.  re2/dfa.cc 2>&1 | 
sed 5q
In file included from re2/dfa.cc:26:
./util/atomicops.h:26:2: error: #error Need MemoryBarrier for architecture.
./util/atomicops.h: In function ‘void MemoryBarrier()’:
./util/atomicops.h:30: error: ‘LONG’ was not declared in this scope
./util/atomicops.h:30: error: expected `;' before ‘x’
g++ -o obj/re2/filtered_re2.o -c -Wall -Wno-sign-compare -O3 -g -I.  
re2/filtered_re2.cc 
2>&1 | sed 5q
g++ -o obj/re2/mimics_pcre.o -c -Wall -Wno-sign-compare -O3 -g -I.  
re2/mimics_pcre.cc 
2>&1 | sed 5q
g++ -o obj/re2/nfa.o -c -Wall -Wno-sign-compare -O3 -g -I.  re2/nfa.cc 2>&1 | 
sed 5q
g++ -o obj/re2/onepass.o -c -Wall -Wno-sign-compare -O3 -g -I.  re2/onepass.cc 
2>&1 | 
sed 5q
g++ -o obj/re2/parse.o -c -Wall -Wno-sign-compare -O3 -g -I.  re2/parse.cc 2>&1 
| sed 5q
g++ -o obj/re2/perl_groups.o -c -Wall -Wno-sign-compare -O3 -g -I.  
re2/perl_groups.cc 
2>&1 | sed 5q
g++ -o obj/re2/prefilter.o -c -Wall -Wno-sign-compare -O3 -g -I.  
re2/prefilter.cc 2>&1 | sed 
5q
g++ -o obj/re2/prefilter_tree.o -c -Wall -Wno-sign-compare -O3 -g -I.  
re2/prefilter_tree.cc 
2>&1 | sed 5q
g++ -o obj/re2/prog.o -c -Wall -Wno-sign-compare -O3 -g -I.  re2/prog.cc 2>&1 | 
sed 5q
g++ -o obj/re2/re2.o -c -Wall -Wno-sign-compare -O3 -g -I.  re2/re2.cc 2>&1 | 
sed 5q
g++ -o obj/re2/regexp.o -c -Wall -Wno-sign-compare -O3 -g -I.  re2/regexp.cc 
2>&1 | sed 
5q
g++ -o obj/re2/simplify.o -c -Wall -Wno-sign-compare -O3 -g -I.  
re2/simplify.cc 2>&1 | sed 
5q
g++ -o obj/re2/tostring.o -c -Wall -Wno-sign-compare -O3 -g -I.  
re2/tostring.cc 2>&1 | sed 
5q
g++ -o obj/re2/unicode_casefold.o -c -Wall -Wno-sign-compare -O3 -g -I.  
re2/unicode_casefold.cc 2>&1 | sed 5q
g++ -o obj/re2/unicode_groups.o -c -Wall -Wno-sign-compare -O3 -g -I.  
re2/unicode_groups.cc 2>&1 | sed 5q
ar rsc obj/libre2.a obj/util/arena.o obj/util/hash.o obj/util/rune.o 
obj/util/stringpiece.o 
obj/util/stringprintf.o obj/util/strutil.o obj/re2/bitstate.o obj/re2/compile.o 
obj/re2/dfa.o 
obj/re2/filtered_re2.o obj/re2/mimics_pcre.o obj/re2/nfa.o obj/re2/onepass.o 
obj/re2/parse.o 
obj/re2/perl_groups.o obj/re2/prefilter.o obj/re2/prefilter_tree.o 
obj/re2/prog.o obj/re2/re2.o 
obj/re2/regexp.o obj/re2/simplify.o obj/re2/tostring.o 
obj/re2/unicode_casefold.o 
obj/re2/unicode_groups.o 
ar: obj/re2/dfa.o: No such file or directory
make: *** [obj/libre2.a] Error 1
bash-3.2$ uname -v
Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-
1228.15.4~1/RELEASE_PPC

Original issue reported on code.google.com by izy00...@gmail.com on 15 Mar 2010 at 7:39

GoogleCodeExporter commented 9 years ago

Original comment by rsc+personal@swtch.com on 16 Mar 2010 at 7:22

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 6fa549bb3b.

Original comment by rsc+personal@swtch.com on 20 Mar 2010 at 4:56