[cmake-developers] [CMake 0015501]: CMakeTestCXXCompiler.cmake:54 -> The C++ compiler "/usr/bin/gcc" is not able to compile a simple test program.

Mantis Bug Tracker mantis at public.kitware.com
Tue Apr 7 15:43:07 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15501 
====================================================================== 
Reported By:                scalpel4k
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15501
Category:                   Modules
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-04-07 15:43 EDT
Last Modified:              2015-04-07 15:43 EDT
====================================================================== 
Summary:                    CMakeTestCXXCompiler.cmake:54 -> The C++ compiler
"/usr/bin/gcc" is not able to compile a simple test program.
Description: 
This happens with gcc5 from openSUSE but I can't imagine that it's a packaging
issue because I use the compiler for other stuff and it builds just fine.

I did a manual test and here's what it says:

[  112s] === COMPILER_TEST_START ===
[  112s] + echo 'main(){}'
[  112s] + gcc dummy.c -v -Wl,--verbose
[  112s] + readelf -l a.out
[  112s] + grep ': /lib'
[  112s]       [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
[  112s] + cat dummy.log
[  112s] Using built-in specs.
[  112s] COLLECT_GCC=gcc
[  112s] COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/5/lto-wrapper
[  112s] Target: x86_64-suse-linux
[  112s] Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada,go
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/5 --enable-ssp
--disable-libssp --disable-libvtv --disable-plugin
--with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux'
--disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --enable-linker-build-id
--enable-linux-futex --program-suffix=-5 --without-system-libunwind
--enable-multilib --with-arch-32=i586 --with-tune=generic
--build=x86_64-suse-linux --host=x86_64-suse-linux
[  112s] Thread model: posix
[  112s] gcc version 5.0.0 20150324 (experimental) [trunk revision 221624] (SUSE
Linux) 
[  112s] COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=x86-64'
[  113s]  /usr/lib64/gcc/x86_64-suse-linux/5/cc1 -quiet -v -isystem
/usr/lib64/gcc/x86_64-suse-linux/5/include -isystem
/usr/lib64/gcc/x86_64-suse-linux/5/include-fixed dummy.c -quiet -dumpbase
dummy.c -mtune=generic -march=x86-64 -auxbase dummy -version -o /tmp/ccseXQLi.s
[  113s] GNU C11 (SUSE Linux) version 5.0.0 20150324 (experimental) [trunk
revision 221624] (x86_64-suse-linux)
[  113s] 	compiled by GNU C version 5.0.0 20150324 (experimental) [trunk
revision 221624], GMP version 6.0.0, MPFR version 3.1.2, MPC version 1.0.3
[  113s] warning: MPC header version 1.0.3 differs from library version 1.0.2.
[  113s] GGC heuristics: --param ggc-min-expand=100 --param
ggc-min-heapsize=131072
[  113s] ignoring duplicate directory
"/usr/lib64/gcc/x86_64-suse-linux/5/include"
[  113s] ignoring duplicate directory
"/usr/lib64/gcc/x86_64-suse-linux/5/include-fixed"
[  113s] #include "..." search starts here:
[  113s] #include <...> search starts here:
[  113s]  /usr/lib64/gcc/x86_64-suse-linux/5/include
[  113s]  /usr/lib64/gcc/x86_64-suse-linux/5/include-fixed
[  113s]  /usr/local/include
[  113s] 
/usr/lib64/gcc/x86_64-suse-linux/5/../../../../x86_64-suse-linux/include
[  113s]  /usr/include
[  113s] End of search list.
[  113s] GNU C11 (SUSE Linux) version 5.0.0 20150324 (experimental) [trunk
revision 221624] (x86_64-suse-linux)
[  113s] 	compiled by GNU C version 5.0.0 20150324 (experimental) [trunk
revision 221624], GMP version 6.0.0, MPFR version 3.1.2, MPC version 1.0.3
[  113s] warning: MPC header version 1.0.3 differs from library version 1.0.2.
[  113s] GGC heuristics: --param ggc-min-expand=100 --param
ggc-min-heapsize=131072
[  113s] Compiler executable checksum: 084320e260cae3d984aff5da5dbca2d5
[  113s] dummy.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int]
[  113s]  main(){}
[  113s]  ^
[  113s] COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=x86-64'
[  113s] 
/usr/lib64/gcc/x86_64-suse-linux/5/../../../../x86_64-suse-linux/bin/as -v --64
-o /tmp/ccExxEaF.o /tmp/ccseXQLi.s
[  113s] GNU assembler version 2.25.0 (x86_64-suse-linux) using BFD version (GNU
Binutils; devel:gcc / openSUSE_Factory) 2.25.0
[  113s]
COMPILER_PATH=/usr/lib64/gcc/x86_64-suse-linux/5/:/usr/lib64/gcc/x86_64-suse-linux/5/:/usr/lib64/gcc/x86_64-suse-linux/5/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/5/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/5/../../../../x86_64-suse-linux/bin/
[  113s]
LIBRARY_PATH=/usr/lib64/gcc/x86_64-suse-linux/5/:/usr/lib64/gcc/x86_64-suse-linux/5/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib64/gcc/x86_64-suse-linux/5/../../../../x86_64-suse-linux/lib/:/usr/lib64/gcc/x86_64-suse-linux/5/../../../:/lib/:/usr/lib/
[  113s] COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=x86-64'
[  113s]  /usr/lib64/gcc/x86_64-suse-linux/5/collect2 -plugin
/usr/lib64/gcc/x86_64-suse-linux/5/liblto_plugin.so
-plugin-opt=/usr/lib64/gcc/x86_64-suse-linux/5/lto-wrapper
-plugin-opt=-fresolution=/tmp/ccGQRZA1.res -plugin-opt=-pass-through=-lgcc
-plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc
-plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id
--eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2
/usr/lib64/gcc/x86_64-suse-linux/5/../../../../lib64/crt1.o
/usr/lib64/gcc/x86_64-suse-linux/5/../../../../lib64/crti.o
/usr/lib64/gcc/x86_64-suse-linux/5/crtbegin.o
-L/usr/lib64/gcc/x86_64-suse-linux/5
-L/usr/lib64/gcc/x86_64-suse-linux/5/../../../../lib64 -L/lib/../lib64
-L/usr/lib/../lib64
-L/usr/lib64/gcc/x86_64-suse-linux/5/../../../../x86_64-suse-linux/lib
-L/usr/lib64/gcc/x86_64-suse-linux/5/../../.. /tmp/ccExxEaF.o --verbose -lgcc
--as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed
/usr/lib64/gcc/x86_64-suse-linux/5/crtend.o
/usr/lib64/gcc/x86_64-suse-linux/5/../../../../lib64/crtn.o
[  113s] GNU ld (GNU Binutils; devel:gcc / openSUSE_Factory) 2.25.0
[  113s]   Supported emulations:
[  113s]    elf_x86_64
[  113s]    elf32_x86_64
[  113s]    elf_i386
[  113s]    i386linux
[  113s]    elf_l1om
[  113s]    elf_k1om
[  113s]    aarch64linux
[  113s]    aarch64elf
[  113s]    aarch64elf32
[  113s]    aarch64elf32b
[  113s]    aarch64elfb
[  113s]    armelf
[  113s]    armelfb
[  113s]    aarch64linuxb
[  113s]    aarch64linux32
[  113s]    aarch64linux32b
[  113s]    armelfb_linux_eabi
[  113s]    armelf_linux_eabi
[  113s]    elf64alpha
[  113s]    alpha
[  113s]    armelf_linux
[  113s]    armelfb_linux
[  113s]    hppalinux
[  113s]    hppa64linux
[  113s]    elf64_ia64
[  113s]    m68kelf
[  113s]    m68klinux
[  113s]    elf32btsmip
[  113s]    elf32ltsmip
[  113s]    elf32btsmipn32
[  113s]    elf64btsmip
[  113s]    elf32ltsmipn32
[  113s]    elf64ltsmip
[  113s]    elf32ppclinux
[  113s]    elf32ppc
[  113s]    elf32ppcsim
[  113s]    elf64ppc
[  113s]    elf64lppc
[  113s]    elf32lppc
[  113s]    elf32lppclinux
[  113s]    elf32lppcsim
[  113s]    elf_s390
[  113s]    elf64_s390
[  113s]    shlelf_linux
[  113s]    elf32_sparc
[  113s]    sparclinux
[  113s]    elf64_sparc
[  113s]    sun4
[  113s]    ppcmacos
[  113s]    elf32_spu
[  113s]    i386pep
[  113s]    i386pe
[  113s] using internal linker script:
[  113s] ==================================================
[  113s] /* Script for -z combreloc: combine and sort reloc sections */
[  113s] /* Copyright (C) 2014 Free Software Foundation, Inc.
[  113s]    Copying and distribution of this script, with or without
modification,
[  113s]    are permitted in any medium without royalty provided the copyright
[  113s]    notice and this notice are preserved.  */
[  113s] OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64",
[  113s] 	      "elf64-x86-64")
[  113s] OUTPUT_ARCH(i386:x86-64)
[  113s] ENTRY(_start)
[  113s] SEARCH_DIR("/usr/x86_64-suse-linux/lib64"); SEARCH_DIR("/usr/lib64");
SEARCH_DIR("/usr/local/lib64"); SEARCH_DIR("/lib64");
SEARCH_DIR("/usr/x86_64-suse-linux/lib"); SEARCH_DIR("/usr/local/lib");
SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib");
[  113s] SECTIONS
[  113s] {
[  113s]   /* Read-only sections, merged into text segment: */
[  113s]   PROVIDE (__executable_start = SEGMENT_START("text-segment",
0x400000)); . = SEGMENT_START("text-segment", 0x400000) + SIZEOF_HEADERS;
[  113s]   .interp         : { *(.interp) }
[  113s]   .note.gnu.build-id : { *(.note.gnu.build-id) }
[  113s]   .hash           : { *(.hash) }
[  113s]   .gnu.hash       : { *(.gnu.hash) }
[  113s]   .dynsym         : { *(.dynsym) }
[  113s]   .dynstr         : { *(.dynstr) }
[  113s]   .gnu.version    : { *(.gnu.version) }
[  113s]   .gnu.version_d  : { *(.gnu.version_d) }
[  113s]   .gnu.version_r  : { *(.gnu.version_r) }
[  113s]   .rela.dyn       :
[  113s]     {
[  113s]       *(.rela.init)
[  113s]       *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*)
[  113s]       *(.rela.fini)
[  113s]       *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*)
[  113s]       *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*)
[  113s]       *(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*)
[  113s]       *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*)
[  113s]       *(.rela.ctors)
[  113s]       *(.rela.dtors)
[  113s]       *(.rela.got)
[  113s]       *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)
[  113s]       *(.rela.ldata .rela.ldata.* .rela.gnu.linkonce.l.*)
[  113s]       *(.rela.lbss .rela.lbss.* .rela.gnu.linkonce.lb.*)
[  113s]       *(.rela.lrodata .rela.lrodata.* .rela.gnu.linkonce.lr.*)
[  113s]       *(.rela.ifunc)
[  113s]     }
[  113s]   .rela.plt       :
[  113s]     {
[  113s]       *(.rela.plt)
[  113s]       PROVIDE_HIDDEN (__rela_iplt_start = .);
[  113s]       *(.rela.iplt)
[  113s]       PROVIDE_HIDDEN (__rela_iplt_end = .);
[  113s]     }
[  113s]   .init           :
[  113s]   {
[  113s]     KEEP (*(SORT_NONE(.init)))
[  113s]   }
[  113s]   .plt            : { *(.plt) *(.iplt) }
[  113s]   .plt.bnd        : { *(.plt.bnd) }
[  113s]   .text           :
[  113s]   {
[  113s]     *(.text.unlikely .text.*_unlikely .text.unlikely.*)
[  113s]     *(.text.exit .text.exit.*)
[  113s]     *(.text.startup .text.startup.*)
[  113s]     *(.text.hot .text.hot.*)
[  113s]     *(.text .stub .text.* .gnu.linkonce.t.*)
[  113s]     /* .gnu.warning sections are handled specially by elf32.em.  */
[  113s]  [   60.482519] serial8250: too much work for irq4
[  113s]    *(.gnu.warning)
[  113s]   }
[  113s]   .fini           :
[  113s]   {
[  113s]     KEEP (*(SORT_NONE(.fini)))
[  113s]   }
[  113s]   PROVIDE (__etext = .);
[  113s]   PROVIDE (_etext = .);
[  113s]   PROVIDE (etext = .);
[  113s]   .rodata         : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
[  113s]   .rodata1        : { *(.rodata1) }
[  113s]   .eh_frame_hdr : { *(.eh_frame_hdr) }
[  113s]   .eh_frame       : ONLY_IF_RO { KEEP (*(.eh_frame)) }
[  113s]   .gcc_except_table   : ONLY_IF_RO { *(.gcc_except_table
[  113s]   .gcc_except_table.*) }
[  113s]   /* These sections are generated by the Sun/Oracle C++ compiler.  */
[  113s]   .exception_ranges   : ONLY_IF_RO { *(.exception_ranges
[  113s]   .exception_ranges*) }
[  113s]   /* Adjust the address for the data segment.  We want to adjust up to
[  113s]      the same address within the page on the next page up.  */
[  113s]   . = ALIGN (CONSTANT (MAXPAGESIZE)) - ((CONSTANT (MAXPAGESIZE) - .) &
(CONSTANT (MAXPAGESIZE) - 1)); . = DATA_SEGMENT_ALIGN (CONSTANT (MAXPAGESIZE),
CONSTANT (COMMONPAGESIZE));
[  113s]   /* Exception handling  */
[  113s]   .eh_frame       : ONLY_IF_RW { KEEP (*(.eh_frame)) }
[  113s]   .gcc_except_table   : ONLY_IF_RW { *(.gcc_except_table
.gcc_except_table.*) }
[  113s]   .exception_ranges   : ONLY_IF_RW { *(.exception_ranges
.exception_ranges*) }
[  113s]   /* Thread Local Storage sections  */
[  113s]   .tdata	  : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
[  113s]   .tbss		  : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
[  113s]   .preinit_array     :
[  113s]   {
[  113s]     PROVIDE_HIDDEN (__preinit_array_start = .);
[  113s]     KEEP (*(.preinit_array))
[  113s]     PROVIDE_HIDDEN (__preinit_array_end = .);
[  113s]   }
[  113s]   .init_array     :
[  113s]   {
[  113s]     PROVIDE_HIDDEN (__init_array_start = .);
[  113s]     KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*)
SORT_BY_INIT_PRIORITY(.ctors.*)))
[  113s]     KEEP (*(.init_array EXCLUDE_FILE (*crtbegin.o *crtbegin?.o
*crtend.o *crtend?.o ) .ctors))
[  113s]     PROVIDE_HIDDEN (__init_array_end = .);
[  113s]   }
[  113s]   .fini_array     :
[  113s]   {
[  113s]     PROVIDE_HIDDEN (__fini_array_start = .);
[  113s]     KEEP (*(SORT_BY_INIT_PRIORITY(.fini_array.*)
SORT_BY_INIT_PRIORITY(.dtors.*)))
[  113s]     KEEP (*(.fini_array EXCLUDE_FILE (*crtbegin.o *crtbegin?.o
*crtend.o *crtend?.o ) .dtors))
[  113s]     PROVIDE_HIDDEN (__fini_array_end = .);
[  113s]   }
[  113s]   .ctors          :
[  113s]   {
[  113s]     /* gcc uses crtbegin.o to find the start of
[  113s]        the constructors, so we make sure it is
[  113s]        first.  Because this is a wildcard, it
[  113s]        doesn't matter if the user does not
[  113s]        actually link against crtbegin.o; the
[  113s]        linker won't look for a file to match a
[  113s]        wildcard.  The wildcard also means that it
[  113s]        doesn't matter which directory crtbegin.o
[  113s]        is in.  */
[  113s]     KEEP (*crtbegin.o(.ctors))
[  113s]     KEEP (*crtbegin?.o(.ctors))
[  113s]     /* We don't want to include the .ctor section from
[  113s]        the crtend.o file until after the sorted ctors.
[  113s]        The .ctor section from the crtend file contains the
[  113s]        end of ctors marker and it must be last */
[  113s]     KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o ) .ctors))
[  113s]     KEEP (*(SORT(.ctors.*)))
[  113s]     KEEP (*(.ctors))
[  113s]   }
[  113s]   .dtors          :
[  113s]   {
[  113s]     KEEP (*crtbegin.o(.dtors))
[  113s]     KEEP (*crtbegin?.o(.dtors))
[  113s]     KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o ) .dtors))
[  113s]     KEEP (*(SORT(.dtors.*)))
[  113s]     KEEP (*(.dtors))
[  113s]   }
[  113s]   .jcr            : { KEEP (*(.jcr)) }
[  113s]   .data.rel.ro : { *(.data.rel.ro.local*
.gnu.linkonce.d.rel.ro.local.*) *(.data.rel.ro .data.rel.ro.*
.gnu.linkonce.d.rel.ro.*) }
[  113s]   .dynamic        : { *(.dynamic) }
[  113s]   .got            : { *(.got) *(.igot) }
[  113s]   . = DATA_SEGMENT_RELRO_END (SIZEOF (.got.plt) >= 24 ? 24 : 0, .);
[  113s]   .got.plt        : { *(.got.plt)  *(.igot.plt) }
[  113s]   .data           :
[  113s]   {
[  113s]     *(.data .data.* .gnu.linkonce.d.*)
[  113s]     SORT(CONSTRUCTORS)
[  113s]   }
[  113s]   .data1          : { *(.data1) }
[  113s]   _edata = .; PROVIDE (edata = .);
[  113s]   . = .;
[  113s]   __bss_start = .;
[  113s]   .bss            :
[  113s]   {
[  113s]    *(.dynbss)
[  113s]    *(.bss .bss.* .gnu.linkonce.b.*)
[  113s]    *(COMMON)
[  113s]    /* Align here to ensure that the .bss section occupies space up to
[  113s]       _end.  Align after .bss to ensure correct alignment even if the
[  113s]       .bss section disappears because there are no input sections.
[  113s]       FIXME: Why do we need it? When there is no .bss section, we don't
[  113s]       pad the .data section.  */
[  113s]    . = ALIGN(. != 0 ? 64 / 8 : 1);
[  113s]   }
[  113s]   .lbss   :
[  113s]   {
[  113s]     *(.dynlbss)
[  113s]     *(.lbss .lbss.* .gnu.linkonce.lb.*)
[  113s]     *(LARGE_COMMON)
[  113s]   }
[  113s]   . = ALIGN(64 / 8);
[  113s]   . = SEGMENT_START("ldata-segment", .);
[  113s]   .lrodata   ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT
(MAXPAGESIZE) - 1)) :
[  113s]   {
[  113s]     *(.lrodata .lrodata.* .gnu.linkonce.lr.*)
[  113s]   }
[  113s]   .ldata   ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE)
- 1)) :
[  113s]   {
[  113s]     *(.ldata .ldata.* .gnu.linkonce.l.*)
[  113s]     . = ALIGN(. != 0 ? 64 / 8 : 1);
[  113s]   }
[  113s]   . = ALIGN(64 / 8);
[  113s]   _end = .; PROVIDE (end = .);
[  113s]   . = DATA_SEGMENT_END (.);
[  113s]   /* Stabs debugging sections.  */
[  113s]   .stab          0 : { *(.stab) }
[  113s]   .stabstr       0 : { *(.stabstr) }
[  113s]   .stab.excl     0 : { *(.stab.excl) }
[  113s]   .stab.exclstr  0 : { *(.stab.exclstr) }
[  113s]   .stab.index    0 : { *(.stab.index) }
[  113s]   .stab.indexstr 0 : { *(.stab.indexstr) }
[  113s]   .comment       0 : { *(.comment) }
[  113s]   /* DWARF debug sections.
[  113s]      Symbols in the DWARF debugging sections are relative to the
beginning
[  113s]      of the section so we begin them at 0.  */
[  113s]   /* DWARF 1 */
[  113s]   .debug          0 : { *(.debug) }
[  113s]   .line           0 : { *(.line) }
[  113s]   /* GNU DWARF 1 extensions */
[  113s]   .debug_srcinfo  0 : { *(.debug_srcinfo) }
[  113s]   .debug_sfnames  0 : { *(.debug_sfnames) }
[  113s]   /* DWARF 1.1 and DWARF 2 */
[  113s]   .debug_aranges  0 : { *(.debug_aranges) }
[  113s]   .debug_pubnames 0 : { *(.debug_pubnames) }
[  113s]   /* DWARF 2 */
[  113s]   .debug_info     0 : { *(.debug_info .gnu.linkonce.wi.*) }
[  113s]   .debug_abbrev   0 : { *(.debug_abbrev) }
[  113s]   .debug_line     0 : { *(.debug_line .debug_line.* .debug_line_end ) }
[  113s]   .debug_frame    0 : { *(.debug_frame) }
[  113s]   .debug_str      0 : { *(.debug_str) }
[  113s]   .debug_loc      0 : { *(.debug_loc) }
[  113s]   .debug_macinfo  0 : { *(.debug_macinfo) }
[  113s]   /* SGI/MIPS DWARF 2 extensions */
[  113s]   .debug_weaknames 0 : { *(.debug_weaknames) }
[  113s]   .debug_funcnames 0 : { *(.debug_funcnames) }
[  113s]   .debug_typenames 0 : { *(.debug_typenames) }
[  113s]   .debug_varnames  0 : { *(.debug_varnames) }
[  113s]   /* DWARF 3 */
[  113s]   .debug_pubtypes 0 : { *(.debug_pubtypes) }
[  113s]   .debug_ranges   0 : { *(.debug_ranges) }
[  113s]   /* DWARF Extension.  */
[  113s]   .debug_macro    0 : { *(.debug_macro) }
[  113s]   .gnu.attributes 0 : { KEEP (*(.gnu.attributes)) }
[  113s]   /DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) }
[  113s] }
[  113s] 
[  113s] 
[  113s] ==================================================
[  113s] attempt to open
/usr/lib64/gcc/x86_64-suse-linux/5/../../../../lib64/crt1.o succeeded
[  113s] /usr/lib64/gcc/x86_64-suse-linux/5/../../../../lib64/crt1.o
[  113s] attempt to open
/usr/lib64/gcc/x86_64-suse-linux/5/../../../../lib64/crti.o succeeded
[  113s] /usr/lib64/gcc/x86_64-suse-linux/5/../../../../lib64/crti.o
[  113s] attempt to open /usr/lib64/gcc/x86_64-suse-linux/5/crtbegin.o succeeded
[  113s] /usr/lib64/gcc/x86_64-suse-linux/5/crtbegin.o
[  113s] attempt to open /tmp/ccExxEaF.o succeeded
[  113s] /tmp/ccExxEaF.o
[  113s] attempt to open /usr/lib64/gcc/x86_64-suse-linux/5/libgcc.so failed
[  113s] attempt to open /usr/lib64/gcc/x86_64-suse-linux/5/libgcc.a succeeded
[  113s] attempt to open /usr/lib64/gcc/x86_64-suse-linux/5/libgcc_s.so
succeeded
[  113s] -lgcc_s (/usr/lib64/gcc/x86_64-suse-linux/5/libgcc_s.so)
[  113s] attempt to open /usr/lib64/gcc/x86_64-suse-linux/5/libc.so failed
[  113s] attempt to open /usr/lib64/gcc/x86_64-suse-linux/5/libc.a failed
[  113s] attempt to open
/usr/lib64/gcc/x86_64-suse-linux/5/../../../../lib64/libc.so succeeded
[  113s] opened script file
/usr/lib64/gcc/x86_64-suse-linux/5/../../../../lib64/libc.so
[  113s] opened script file
/usr/lib64/gcc/x86_64-suse-linux/5/../../../../lib64/libc.so
[  113s] attempt to open /lib64/libc.so.6 succeeded
[  113s] /lib64/libc.so.6
[  113s] attempt to open /usr/lib64/libc_nonshared.a succeeded
[  113s] (/usr/lib64/libc_nonshared.a)elf-init.oS
[  113s] attempt to open /lib64/ld-linux-x86-64.so.2 succeeded
[  113s] /lib64/ld-linux-x86-64.so.2
[  113s] /lib64/ld-linux-x86-64.so.2
[  113s] attempt to open /usr/lib64/gcc/x86_64-suse-linux/5/libgcc.so failed
[  113s] attempt to open /usr/lib64/gcc/x86_64-suse-linux/5/libgcc.a succeeded
[  113s] attempt to open /usr/lib64/gcc/x86_64-suse-linux/5/libgcc_s.so
succeeded
[  113s] -lgcc_s (/usr/lib64/gcc/x86_64-suse-linux/5/libgcc_s.so)
[  113s] attempt to open /usr/lib64/gcc/x86_64-suse-linux/5/crtend.o succeeded
[  113s] /usr/lib64/gcc/x86_64-suse-[   60.546334] serial8250: too much work for
irq4
[  113s] linux/5/crtend.o
[  113s] attempt to open
/usr/lib64/gcc/x86_64-suse-linux/5/../../../../lib64/crtn.o succeeded
[  113s] /usr/lib64/gcc/x86_64-suse-linux/5/../../../../lib64/crtn.o
[  113s] ld-linux-x86-64.so.2 needed by /lib64/libc.so.6
[  113s] found ld-linux-x86-64.so.2 at /lib64/ld-linux-x86-64.so.2
[  113s] + echo '=== COMPILER_TEST_END ==='
[  113s] === COMPILER_TEST_END ===

Steps to Reproduce: 
I tried to build llvm/clang both with gcc5 and with clang itself.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-04-07 15:43 scalpel4k      New Issue                                    
======================================================================



More information about the cmake-developers mailing list