bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/20273] New: ld ignores symbol table in llvm IR archive


From: hjl.tools at gmail dot com
Subject: [Bug ld/20273] New: ld ignores symbol table in llvm IR archive
Date: Fri, 17 Jun 2016 22:55:45 +0000

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

            Bug ID: 20273
           Summary: ld ignores symbol table in llvm IR archive
           Product: binutils
           Version: 2.27 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

address@hidden pr20267]$ cat main.c 
int global_var;
extern void abort ();

int main(void)
{
  if (global_var != 20)
    abort ();
  return 0;
}
address@hidden pr20267]$ cat foo.c
int global_var = 20;
address@hidden pr20267]$ make
gcc -B./ -O2 -flto -c main.c -o main.o
gcc -B./ -O2 -flto -c foo.c -o foo.o
gcc-ar scr  libfoo.a foo.o
gcc -B./ -O2 -flto -o x main.o libfoo.a
./x
Makefile:21: recipe for target 'all' failed
make: *** [all] Aborted
rm foo.o
address@hidden pr20267]$

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