Actions
Bug #4847
closedERROR: ctfconvert: file does not contain valid DWARF data: Dwarf_Error is NULL
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
tools - gate/build tools
Start date:
2014-05-04
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
Description
ctfconvert has problem with 64bit build of libsqlite
/myshare/builds/ssd01/builds/dig-64/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/cw -_gcc -xO3 -m64 -Ui386 -U__i386 -Xa -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -_gcc=-Wno-missing-braces -_gcc=-Wno-sign-compare -_gcc=-Wno-unknown-pragmas -_gcc=-Wno-unused-parameter -_gcc=-Wno-missing-field-initializers -_gcc=-Wno-array-bounds -_gcc=-Wno-unused-local-typedefs -_gcc=-Wno-unused -_gcc=-Wno-empty-body -_gcc=-Wno-implicit-function-declaration -_gcc=-Wno-uninitialized -_gcc=-Wno-unused-function -_gcc=-Wno-unused-label -xc99=%none -W0,-xglobalstatic -_gcc=-fno-inline-small-functions -_gcc=-fno-inline-functions-called-once -_gcc=-fno-ipa-cp -DTEXT_DOMAIN=\\\\"SUNW_OST_OSLIB\\\\" -D_TS_ERRNO -I/myshare/builds/ssd01/builds/dig-64/proto/root_i386/usr/include -D_REENTRANT -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I.. -I../src -c -o objs/attach.o ../src/attach.c + /usr/gcc/4.4/bin/gcc -fident -finline -fno-inline-functions -fno-builtin -fno-asm -fdiagnostics-show-option -nodefaultlibs -D__sun -fno-strict-aliasing -fno-unit-at-a-time -fno-optimize-sibling-calls -O2 -m64 -mtune=opteron -Ui386 -U__i386 -Wall -Wextra -Werror -Wno-missing-braces -Wno-sign-compare -Wno-unknown-pragmas -Wno-unused-parameter -Wno-missing-field-initializers -Wno-array-bounds -Wno-unused-local-typedefs -Wno-unused -Wno-empty-body -Wno-implicit-function-declaration -Wno-uninitialized -Wno-unused-function -Wno-unused-label -std=gnu89 -fno-inline-small-functions -fno-inline-functions-called-once -fno-ipa-cp -DTEXT_DOMAIN="SUNW_OST_OSLIB" -D_TS_ERRNO -I/myshare/builds/ssd01/builds/dig-64/proto/root_i386/usr/include -D_REENTRANT -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I.. -I../src -c -o objs/attach.o ../src/attach.c ERROR: ctfconvert: file does not contain valid DWARF data: Dwarf_Error is NULL Removing objs/attach.o *** Error code 1 The following command caused the error: /usr/bin/mcs -d -a "@(#)SunOS 5.11 1.3.6-D May-04-2014" objs/attach.o ; /myshare/builds/ssd01/builds/dig-64/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/ctfconvert -i -L VERSION objs/attach.o dmake: Fatal error: Command failed for target `objs/attach.o' Current working directory /myshare/builds/ssd01/builds/dig-64/usr/src/lib/libsqlite/amd64 *** Error code 1 The following command caused the error: cd amd64; pwd; dmake install dmake: Fatal error: Command failed for target `amd64' Current working directory /myshare/builds/ssd01/builds/dig-64/usr/src/lib/libsqlite
Updated by Marcel Telka over 8 years ago
- Category set to tools - gate/build tools
Updated by Robert Mustacchi over 8 years ago
- Status changed from New to Rejected
This isn't a bug in ctfconvert. ctfconvert is telling you the truth, you have no dwarf in the file you built. Specifically, if you look at the command line flags you passed there gcc didn't end up with a -g to indicate it should build debug. Likely something else is going on with your makefiles.
Actions