[darwinbuild] JavaScriptCore

Daniel Jalkut jalkut at red-sweater.com
Tue Jan 24 05:46:56 PST 2006


Hi Philip - by looking at the log, I'd guess you are seeing the build  
fail because of that "unused variable" warning in date_object.cpp.   
Notice the "-Werror" option on the command line. I'm not sure why  
they would have shipped it in a broken state like that, unless there  
are build-time variables that are making your build different than it  
was at Apple.

If I was in your position and just wanted to see a working build  
ASAP, I'd probably take out the "-Werror" option, as much as I  
generally like leaving that option on :)

Daniel

On Jan 24, 2006, at 8:43 AM, Philip Rinehart wrote:

> So I'm trying to build JavaScriptCore, and it fails each time when  
> compiling the date_object file. Any ideas on how to remedy?
>
> Here is the relevant log entry. I can send the entire log if that  
> would be useful.
>
> CompileC /private/var/tmp/JavaScriptCore/JavaScriptCore-417.8.obj/ 
> JavaScriptCore.build/JavaScriptCore.build/Objects-normal/ppc/ 
> date_object.o /SourceCache/JavaScriptCore/JavaScriptCore-417.8/kjs/ 
> date_object.cpp normal ppc c++ com.apple.compilers.gcc.3_3
>     cd /SourceCache/JavaScriptCore/JavaScriptCore-417.8
>     setenv MACOSX_DEPLOYMENT_TARGET 10.4
>     ./gcc-path -x c++ -arch ppc -pipe -Wno-trigraphs -fpascal- 
> strings -fasm-blocks -g -Os -Werror -Wnon-virtual-dtor -DNDEBUG - 
> DAPPLE_CHANGES -DHAVE_CONFIG_H -fmessage-length=0 -fstrict-aliasing  
> -mtune=G4 -Wno-invalid-offsetof -Wp,-header-mapfile,/private/var/ 
> tmp/JavaScriptCore/JavaScriptCore-417.8.obj/JavaScriptCore.build/ 
> JavaScriptCore.build/JavaScriptCore.hmap -Wall -W -Wcast-align - 
> Wchar-subscripts -Wformat-security -Wmissing-format-attribute - 
> Wpointer-arith -Wwrite-strings -Wno-format-y2k -Wno-unused- 
> parameter -Wno-long-double -F/private/var/tmp/JavaScriptCore/ 
> JavaScriptCore-417.8.sym/BuiltProducts -I/private/var/tmp/ 
> JavaScriptCore/JavaScriptCore-417.8.sym/BuiltProducts/include -Iicu  
> -I/private/var/tmp/JavaScriptCore/JavaScriptCore-417.8.obj/ 
> JavaScriptCore.build/JavaScriptCore.build/DerivedSources - 
> DMAC_OS_X_VERSION_MIN_REQUIRED=1040 -fconstant-cfstrings - 
> D__CONSTANT_CFSTRINGS__ -include /private/var/tmp/JavaScriptCore/ 
> JavaScriptCore-417.8.obj/Caches/SharedPrecompiledHeaders/ 
> JavaScriptCorePrefix-alksxzrckhvumfaqhaupzjiptphu/ 
> JavaScriptCorePrefix.h -c /SourceCache/JavaScriptCore/ 
> JavaScriptCore-417.8/kjs/date_object.cpp -o /private/var/tmp/ 
> JavaScriptCore/JavaScriptCore-417.8.obj/JavaScriptCore.build/ 
> JavaScriptCore.build/Objects-normal/ppc/date_object.o
> /SourceCache/JavaScriptCore/JavaScriptCore-417.8/kjs/ 
> date_object.cpp: In member function `virtual KJS::Value  
> KJS::DateProtoFuncImp::call(KJS::ExecState*, KJS::Object&, const  
> KJS::List&)':
> /SourceCache/JavaScriptCore/JavaScriptCore-417.8/kjs/ 
> date_object.cpp:564: warning: unused variable `double secs'
> ** BUILD FAILED **
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
> ++++++++++++
> BUILD TIME: 0h 0m 14s
> EXIT STATUS: 1
>
>
> -----------------------------
> Philip Rinehart
> Systems Programmer, Desktop Technologies
> 203-432-6573
> philip.rinehart at yale.edu
>
>
>
>
> _______________________________________________
> darwinbuild mailing list
> darwinbuild at opendarwin.org
> http://www.opendarwin.org/mailman/listinfo/darwinbuild

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-dev/attachments/20060124/c27c87b0/attachment.html


More information about the darwinbuild-dev mailing list