bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/31482] fail to link static jemalloc with -flto


From: hjl.tools at gmail dot com
Subject: [Bug ld/31482] fail to link static jemalloc with -flto
Date: Thu, 14 Mar 2024 13:51:47 +0000

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|MOVED                       |---

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
[hjl@gnu-cfl-3 pr31482-a]$ cat x.c 
#include <stdlib.h>

int
main()
{
  abort ();
  return 0;
}
[hjl@gnu-cfl-3 pr31482-a]$ cat foo.c
#include <unistd.h>

void
abort (void)
{
  _exit (0);
}
[hjl@gnu-cfl-3 pr31482-a]$ make
gcc -B./ -g -flto   -c -o x.o x.c
gcc -B./ -g -o x x.o libfoo.a
./x
make: *** [Makefile:8: all] Aborted (core dumped)
[hjl@gnu-cfl-3 pr31482-a]$

-- 
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]