[LLVMdev] llvm 'gmake check' errors generating lit.site.cfg (original) (raw)
NAKAMURA Takumi geek4civic at gmail.com
Wed Jul 11 18:14:55 PDT 2012
- Previous message: [LLVMdev] llvm 'gmake check' errors generating lit.site.cfg
- Next message: [LLVMdev] llvm 'gmake check' errors generating lit.site.cfg
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Morning, Will!
2012/7/12 Will Schmidt <will_schmidt at vnet.ibm.com>:
llvm]$ gmake check llvm[0]: Running test suite gmake[1]: Entering directory
/home/willschm/llvm/test'_ _Making LLVM 'lit.site.cfg' file..._ _sed: file lit.tmp line 8: unknown option to
s' gmake[1]: *** [lit.site.cfg] Error 1The relevant lines in test/Makefile: @$(ECHOPATH) s=@OCAMLOPT@=$(OCAMLOPT) -cc "$(CXXFOROCAMLOPT)" -I $(LibDir)/ocaml=g >> lit.tmp @sed -f lit.tmp (PROJSRCDIR)/lit.site.cfg.in>(PROJSRCDIR)/lit.site.cfg.in > (PROJSRCDIR)/lit.site.cfg.in>@ And the line in the lit.tmp file: s=@OCAMLOPT@=/bin/ocamlopt -cc "g++ -Wall -DFILEOFFSETBITS=64 -DREENTRANT -O2 -g -pipe -Wall -Wp,-DFORTIFYSOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64" -I /home/willschm/llvm/Debug+Asserts/lib/ocaml=g So it looks to me like the sed delimiter "=" gets tripped up on the parms such as DFILEOFFSETBITS=64. As a hack, I swapped out the "=" for "#" for that line in the Makefile @$(ECHOPATH) s#@OCAMLOPT@#$(OCAMLOPT) -cc "$(CXXFOROCAMLOPT)" -I $(LibDir)/ocaml#g >> lit.tmp
I have introduced "=" to appease MSYS. ("#" was useless then) I will work again later, to satisfy all guys! ;)
And now get farther, but then hit another issue related to the OCAMLOPT contents: File "/home/willschm/llvm/test/lit.site.cfg", line 11 config.ocamloptexecutable = "/bin/ocamlopt -cc "g++ -Wall -DFILEOFFSETBITS=64 -DREENTRANT -O2 -g -pipe -Wall -Wp,-DFORTIFYSOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64" -I /home/willschm/llvm/Debug+Asserts/lib/ocaml" ^ SyntaxError: invalid syntax gmake: *** [check-local] Error 1
We should take another quotation, indeed ;)
Thanks to report the issues!
...Takumi
- Previous message: [LLVMdev] llvm 'gmake check' errors generating lit.site.cfg
- Next message: [LLVMdev] llvm 'gmake check' errors generating lit.site.cfg
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]