bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/29866] Build stuck at "checking for ELF support in BFD..."


From: euloanty at live dot com
Subject: [Bug binutils/29866] Build stuck at "checking for ELF support in BFD..." for x86_64-w64-mingw32 host at canadian compilation
Date: Wed, 14 Dec 2022 10:01:39 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29866

--- Comment #4 from cqwrteur <euloanty at live dot com> ---
(In reply to Alan Modra from comment #1)
> This is in libctf configure.  For me, I see the following in
> libctf/config.log:
> configure:14586: checking for ELF support in BFD
> configure:14606: ./libtool --quiet --mode=link x86_64-w64-mingw32-gcc -o
> conftest.exe -I/home/alan/src/binutils-gdb/libctf/../include -I../bfd
> -I/home/alan/src/binutils-gdb/libctf/../bfd -g -O2      -L../bfd
> -L../libiberty -L../zlib  -Wl,--stack,12582912 conftest.c -lbfd -liberty -lz
> >&5
> configure:14606: $? = 0
> configure:14614: result: yes
> 
> So the bug report is really asking "Why does my compiler hang?", and there
> isn't any way for me to answer that.
> 
> My conftest.c for the test is:
> /* confdefs.h */
> #define PACKAGE_NAME "libctf"
> #define PACKAGE_TARNAME "libctf"
> #define PACKAGE_VERSION "1.2.0"
> #define PACKAGE_STRING "libctf 1.2.0"
> #define PACKAGE_BUGREPORT ""
> #define PACKAGE_URL ""
> #define STDC_HEADERS 1
> #define HAVE_SYS_TYPES_H 1
> #define HAVE_SYS_STAT_H 1
> #define HAVE_STDLIB_H 1
> #define HAVE_STRING_H 1
> #define HAVE_MEMORY_H 1
> #define HAVE_STRINGS_H 1
> #define HAVE_INTTYPES_H 1
> #define HAVE_STDINT_H 1
> #define HAVE_UNISTD_H 1
> #define __EXTENSIONS__ 1
> #define _ALL_SOURCE 1
> #define _GNU_SOURCE 1
> #define _POSIX_PTHREAD_SEMANTICS 1
> #define _TANDEM_SOURCE 1
> #define PACKAGE "libctf"
> #define VERSION "1.2.0"
> #define LT_OBJDIR ".libs/"
> #define _FILE_OFFSET_BITS 64
> #define HAVE_STDLIB_H 1
> #define HAVE_UNISTD_H 1
> #define HAVE_SYS_PARAM_H 1
> #define HAVE_GETPAGESIZE 1
> /* end confdefs.h.  */
> #include <stdlib.h>
>            #include <string.h>
>            #include "bfd.h"
>            #include "elf-bfd.h"
> int
> main ()
> {
> (void) bfd_section_from_elf_index (NULL, 0);
>            return 0;
>   ;
>   return 0;
> }
> 
> The previous failed test in the log will give you your confdefs.h, which may
> be different to mine.  If you run your conftest.c through your compiler by
> hand and it hangs, then you likely have a problem with your compiler rather
> than there being a libctf configure problem.

why would the GCC have issues? I run it with GCC manually and GCC does not
hang. However. here it hangs for build

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]