[Bug bootstrap/54834] bootstrap fails when building libbacktrace

tobi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Oct 13 10:42:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54834

Tobias Schlüter <tobi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |

--- Comment #6 from Tobias Schlüter <tobi at gcc dot gnu.org> 2012-10-13 10:41:44 UTC ---
I'm opening this again, as I find the same problem again after updating my git
tree, so it's not due to some changed dependencies in the libbacktrace merge:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../libbacktrace -I
../../libbacktrace/../include -I ../../libbacktrace/../libgcc -I ../libgcc -I
../gcc/include -I ../../gcc/include -funwind-tables -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -Wcast-qual -Werror -g -c ../../libbacktrace/state.c
-o state.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../libbacktrace -I
../../libbacktrace/../include -I ../../libbacktrace/../libgcc -I ../libgcc -I
../gcc/include -I ../../gcc/include -funwind-tables -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -Wcast-qual -Werror -g -c
../../libbacktrace/simple.c -o simple.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../libbacktrace -I
../../libbacktrace/../include -I ../../libbacktrace/../libgcc -I ../libgcc -I
../gcc/include -I ../../gcc/include -funwind-tables -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -Wcast-qual -Werror -g -c
../../libbacktrace/backtrace.c -o backtrace.o
In file included from ../../libbacktrace/backtrace.c:35:
../gcc/include/unwind.h:48: error: unknown machine mode 'unwind_word'
In file included from ../../libbacktrace/simple.c:35:
../gcc/include/unwind.h:48: error: unknown machine mode 'unwind_word'
../gcc/include/unwind.h:49: error: unknown machine mode 'unwind_word'
../gcc/include/unwind.h:49: error: unknown machine mode 'unwind_word'
In file included from ../../libbacktrace/simple.c:35:
../gcc/include/unwind.h:252:4: error: #error "__SIZEOF_LONG__ macro not
defined"
../gcc/include/unwind.h:256:4: error: #error "__SIZEOF_POINTER__ macro not
defined"
In file included from ../../libbacktrace/backtrace.c:35:
../gcc/include/unwind.h:252:4: error: #error "__SIZEOF_LONG__ macro not
defined"
../gcc/include/unwind.h:256:4: error: #error "__SIZEOF_POINTER__ macro not
defined"
make[4]: *** [simple.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [backtrace.lo] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-stage1-libbacktrace] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2

I could fix this by deleting all occurences of unwind.h in the build tree.  I
therefore assume that some dependencies are broken.



More information about the Gcc-bugs mailing list