[odb-users] odb compiler crashes when using --options-file in Mac Os X 10.9.5

Alexandre Pretyman alexandre.pretyman at gmail.com
Fri Aug 14 08:14:20 EDT 2015


Hi Boris,

I am using odb compiler with the --options-file flag to add additional
flags to the compilation in MacOS 10.9.5, however it crashes with "Abort
trap: 6". If I take these flags and put them in the command line itself, it
works normally.

Is there anything I can do to aid the investigation of this behavior?

The options flag file is attached and the command line with the options
file flag is:
/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/bin/odb -d
sqlite --generate-query --generate-session --generate-schema --profile qt
--hxx-suffix .hxx --ixx-suffix .ixx --cxx-suffix .cxx --odb-file-suffix
-odb -I/Users/discipline/Documents/Projects/StudyBuddy
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include
--options-file
/Users/discipline/Documents/Projects/StudyBuddy-build/target-StudyBuddy-odb-compiler-options
--output-dir
/Users/discipline/Documents/Projects/StudyBuddy/generated-odb/cpp/model
--include-prefix cpp/model cpp/model/recording.h
Abort trap: 6

Taking the contents out of the options file and putting them as command
line options, the odb compiler runs successfully:

/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/bin/odb -d
sqlite --generate-query --generate-session --generate-schema --profile qt
--hxx-suffix .hxx --ixx-suffix .ixx --cxx-suffix .cxx --odb-file-suffix
-odb -I/Users/discipline/Documents/Projects/StudyBuddy
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include
-I/Users/discipline/Documents/Projects/StudyBuddy/generated-odb
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include/
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include/QtMultimediaWidgets
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include/
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include/QtMultimedia
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include/
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include/QtNetwork
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include/
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include/QtCore
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install//mkspecs/macx-clang
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include/
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include/QtGui
-I/System/Library/Frameworks/OpenGL.framework/Headers
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include/
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include/QtWidgets
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include/
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include/QtPrintSupport
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include/
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include/QtQml
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include/
-I/Users/discipline/.hunter/_Base/xxxxxxx/73931d7/1cfaa79/Install/include/QtQuick
-DSTATIC_BUILD -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_WIDGETS_LIB
-DQT_PRINTSUPPORT_LIB -DQT_QML_LIB -DQT_QUICK_LIB --output-dir
/Users/discipline/Documents/Projects/StudyBuddy/generated-odb/cpp/model
--include-prefix cpp/model cpp/model/recording.h

Thanks,

-- 
Alexandre Pretyman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: target-StudyBuddy-odb-compiler-options
Type: application/octet-stream
Size: 2122 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/odb-users/attachments/20150814/4ad1b66e/target-StudyBuddy-odb-compiler-options.obj


More information about the odb-users mailing list