bug-libsigsegv
[Top][All Lists]
Advanced

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

Re: build error


From: Bruno Haible
Subject: Re: build error
Date: Fri, 30 Dec 2022 09:02:52 +0100

vikas sharma wrote:
> Thank you for your quick response. Here is the output.

Comparing your output with mine, here are the most worrisome
differences:

  @@ -370,5 +367,5 @@
   
   # Whether we are building with GNU ld or not.
  -with_gnu_ld="yes"
  +with_gnu_ld="no"
   
   # Flag that allows shared libraries with undefined symbols to be built.


If libtool determines that you are not using GNU ld, something is seriously
wrong.


  @@ -306,5 +306,5 @@
   
   # The linker used to build libraries.
  -LD="/usr/bin/ld -m elf_x86_64"
  +LD="gcc -m elf_x86_64"
   
   # How to create reloadable object files.

Now this is completely bogus, since gcc does not support this option:

  $ gcc -m elf_x86_64 hello.c
  gcc: error: unrecognized command-line option ‘-m’


To me it looks like you specified a linker named 'gcc' (either through
some command-line variable, environment variable, or option). That cannot
work and caused the other problem.

Bruno






reply via email to

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