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



             Bug #: 56938

           Summary: Compiling GCC 4.6.3 with GCC 4.8.0 results in internal

                    build errors.

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: libgcc

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: kallis...@unixzen.com





Checking multilib configuration for libgcc...

mkdir -p -- i586-pc-haiku/libgcc

Configuring in i586-pc-haiku/libgcc

configure: creating cache ./config.cache

checking for --enable-version-specific-runtime-libs... no

checking for a BSD-compatible install... /usr/bin/install -c

checking for gawk... gawk

checking build system type... x86_64-unknown-linux-gnu

checking host system type... i586-pc-haiku

checking for i586-pc-haiku-ar...

/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/bin/ar

checking for i586-pc-haiku-lipo... i586-pc-haiku-lipo

checking for i586-pc-haiku-nm...

/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/nm

checking for i586-pc-haiku-ranlib...

/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/bin/ranlib

checking for i586-pc-haiku-strip...

/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/bin/strip

checking whether ln -s works... yes

checking for i586-pc-haiku-gcc...

/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/xgcc

-B/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/

-B/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/bin/

-B/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/lib/

-isystem

/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/include

-isystem

/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/sys-include  

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether

/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/xgcc

-B/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/

-B/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/bin/

-B/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/lib/

-isystem

/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/include

-isystem

/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/sys-include 

  accepts -g... yes

checking for

/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/xgcc

-B/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/

-B/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/bin/

-B/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/lib/

-isystem

/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/include

-isystem

/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/sys-include 

  option to accept ISO C89... none needed

checking how to run the C preprocessor...

/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/xgcc

-B/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/

-B/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/bin/

-B/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/lib/

-isystem

/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/include

-isystem

/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/sys-include 

  -E

checking whether decimal floating point is supported... no

configure: WARNING: decimal float is not supported for this target, ignored

checking whether fixed-point is supported... no

checking whether assembler supports CFI directives... yes

checking for __attribute__((visibility("hidden")))... yes

checking whether the target assembler supports thread-local storage... yes

checking whether the thread-local storage support is from emutls... no

configure: updating cache ./config.cache

configure: creating ./config.status

config.status: creating Makefile

config.status: executing default commands

make[2]: Entering directory

`/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/i586-pc-haiku/libgcc'

# If this is the top-level multilib, build all the other

/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/xgcc

-B/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/

-B/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/bin/

-B/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/lib/

-isystem

/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/include

-isystem

/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/sys-include 

  -g -O2 -O2  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall

-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes

-Wold-style-definition  -isystem ./include  -fPIC -g  -DIN_LIBGCC2

-D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector   -I. -I. -I../.././gcc

-I/home/kallisti5/Projects/buildtools/gcc/libgcc

-I/home/kallisti5/Projects/buildtools/gcc/libgcc/.

-I/home/kallisti5/Projects/buildtools/gcc/libgcc/../gcc

-I/home/kallisti5/Projects/buildtools/gcc/libgcc/../include  -DHAVE_CC_TLS  -o

_muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c

/home/kallisti5/Projects/buildtools/gcc/libgcc/../gcc/libgcc2.c \



# multilibs.

/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/xgcc

-B/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/

-B/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/bin/

-B/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/lib/

-isystem

/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/include

-isystem

/home/kallisti5/Projects/haiku/generated/cross-tools/i586-pc-haiku/sys-include 

  -g -O2 -O2  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall

-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes

-Wold-style-definition  -isystem ./include  -fPIC -g  -DIN_LIBGCC2

-D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector   -I. -I. -I../.././gcc

-I/home/kallisti5/Projects/buildtools/gcc/libgcc

-I/home/kallisti5/Projects/buildtools/gcc/libgcc/.

-I/home/kallisti5/Projects/buildtools/gcc/libgcc/../gcc

-I/home/kallisti5/Projects/buildtools/gcc/libgcc/../include  -DHAVE_CC_TLS  -o

_negdi2.o -MT _negdi2.o -MD -MP -MF _negdi2.dep -DL_negdi2 -c

/home/kallisti5/Projects/buildtools/gcc/libgcc/../gcc/libgcc2.c \



*** Error in

`/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/cc1':

double free or corruption (fasttop): 0x000000000240c020 ***

======= Backtrace: =========

/usr/lib/libc.so.6(+0x788ae)[0x7f56b0dd68ae]

/usr/lib/libc.so.6(+0x79587)[0x7f56b0dd7587]

/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/cc1[0x634161]

/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/cc1(ira_destroy+0x298)[0x638dd8]

/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/cc1[0x633100]

/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/cc1(execute_one_pass+0xdf)[0x68280f]

/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/cc1(execute_pass_list+0x15)[0x682ac5]

/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/cc1(execute_pass_list+0x27)[0x682ad7]

/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/cc1(tree_rest_of_compilation+0x81)[0x74c101]

/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/cc1[0x883d45]

/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/cc1(cgraph_optimize+0x51c)[0x885acc]

/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/cc1(cgraph_finalize_compilation_unit+0x3a)[0x885dfa]

/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/cc1(c_write_global_declarations+0xdc)[0x4a538c]

/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/cc1(toplev_main+0xdbf)[0x71075f]

/usr/lib/libc.so.6(__libc_start_main+0xf5)[0x7f56b0d7fa15]
/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gcc/cc1[0x495009]

======= Memory map: ========

00400000-00e2b000 r-xp 00000000 08:05 3283026                           

/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/gcc/cc1

0102b000-01035000 rw-p 00a2b000 08:05 3283026                           

/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/gcc/cc1

01035000-01156000 rw-p 00000000 00:00 0 

02362000-02430000 rw-p 00000000 00:00 0                                  [heap]

7f56b0848000-7f56b085d000 r-xp 00000000 08:04 395486                    

/usr/lib/libgcc_s.so.1

7f56b085d000-7f56b0a5d000 ---p 00015000 08:04 395486                    

/usr/lib/libgcc_s.so.1

7f56b0a5d000-7f56b0a5e000 rw-p 00015000 08:04 395486                    

/usr/lib/libgcc_s.so.1

7f56b0a5e000-7f56b0d5e000 rw-p 00000000 00:00 0 

7f56b0d5e000-7f56b0f01000 r-xp 00000000 08:04 393252                    

/usr/lib/libc-2.17.so

7f56b0f01000-7f56b1101000 ---p 001a3000 08:04 393252                    

/usr/lib/libc-2.17.so

7f56b1101000-7f56b1105000 r--p 001a3000 08:04 393252                    

/usr/lib/libc-2.17.so

7f56b1105000-7f56b1107000 rw-p 001a7000 08:04 393252                    

/usr/lib/libc-2.17.so

7f56b1107000-7f56b110b000 rw-p 00000000 00:00 0 

7f56b110b000-7f56b1120000 r-xp 00000000 08:04 399591                    

/usr/lib/libz.so.1.2.7

7f56b1120000-7f56b131f000 ---p 00015000 08:04 399591                    

/usr/lib/libz.so.1.2.7

7f56b131f000-7f56b1320000 r--p 00014000 08:04 399591                    

/usr/lib/libz.so.1.2.7

7f56b1320000-7f56b1321000 rw-p 00015000 08:04 399591                    

/usr/lib/libz.so.1.2.7

7f56b1321000-7f56b1324000 r-xp 00000000 08:04 393304                    

/usr/lib/libdl-2.17.so

7f56b1324000-7f56b1523000 ---p 00003000 08:04 393304                    

/usr/lib/libdl-2.17.so

7f56b1523000-7f56b1524000 r--p 00002000 08:04 393304                    

/usr/lib/libdl-2.17.so

7f56b1524000-7f56b1525000 rw-p 00003000 08:04 393304                    

/usr/lib/libdl-2.17.so

7f56b1525000-7f56b1546000 r-xp 00000000 08:04 393300                    

/usr/lib/ld-2.17.so

7f56b15d5000-7f56b15db000 rw-p 00000000 00:00 0 

7f56b15fc000-7f56b1723000 rw-p 00000000 00:00 0 

7f56b1723000-7f56b1746000 rw-p 00000000 00:00 0 

7f56b1746000-7f56b1747000 r--p 00021000 08:04 393300                    

/usr/lib/ld-2.17.so

7f56b1747000-7f56b1748000 rw-p 00022000 08:04 393300                    

/usr/lib/ld-2.17.so

7f56b1748000-7f56b1749000 rw-p 00000000 00:00 0 

7fff3cc64000-7fff3cc89000 rw-p 00000000 00:00 0                         

[stack]

7fff3cdfe000-7fff3ce00000 r-xp 00000000 00:00 0                          [vdso]

ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                 

[vsyscall]

/home/kallisti5/Projects/buildtools/gcc/libgcc/../gcc/libgcc2.c: In function

'__negdi2':

/home/kallisti5/Projects/buildtools/gcc/libgcc/../gcc/libgcc2.c:72:1: internal

compiler error: Aborted

Please submit a full bug report,

with preprocessed source if appropriate.

See <http://gcc.gnu.org/bugs.html> for instructions.

make[2]: *** [_negdi2.o] Error 1

make[2]: *** Waiting for unfinished jobs....

make[2]: Leaving directory

`/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/i586-pc-haiku/libgcc'

make[1]: *** [all-target-libgcc] Error 2

make[1]: Leaving directory

`/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc'

make: *** [all] Error 2

ERROR: Building gcc failed.

Reply via email to