[Top][All Lists]

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

[Bug gold/18698] New: internal error in target, at ../../binutils/gold/p

From: andrew.n.senkevich at gmail dot com
Subject: [Bug gold/18698] New: internal error in target, at ../../binutils/gold/parameters.h:105
Date: Mon, 20 Jul 2015 20:47:25 +0000


            Bug ID: 18698
           Summary: internal error in target, at
           Product: binutils
           Version: 2.26 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at gmail dot com
          Reporter: andrew.n.senkevich at gmail dot com
                CC: ian at airs dot com
  Target Milestone: ---

cat t.c
int proc( int a)
  return a;

gcc t.c -c
ar r t.a t.o
ld.gold t.a -r
ld.gold: internal error in target, at parameters.h:105

#0  gold::Parameters::target (this=<optimized out>) at
#1  0x0000000000653b07 in target (this=<optimized out>) at
#2  gold::Parameters::entry (this=<optimized out>) at
#3  0x00000000005827b4 in gold::Library_base::should_include_member
(address@hidden, address@hidden,
sym_name=0xae6e88 "proc",
    address@hidden, address@hidden,
address@hidden, address@hidden)
    at ../../binutils/gold/archive.cc:141
#4  0x0000000000584498 in gold::Archive::add_symbols (this=0xae6c60,
symtab=0x7fffffff8170, layout=0x7fffffff83d0, input_objects=0x7fffffff7f80,
    at ../../binutils/gold/archive.cc:802
#5  0x0000000000584649 in gold::Add_archive_symbols::run (this=0xae6f10,
workqueue=0x7fffffff7e60) at ../../binutils/gold/archive.cc:1113
#6  0x00000000006a3475 in gold::Workqueue::find_and_run_task
(address@hidden, address@hidden)
    at ../../binutils/gold/workqueue.cc:319
#7  0x00000000006a37da in gold::Workqueue::process
(address@hidden, address@hidden)
    at ../../binutils/gold/workqueue.cc:495
#8  0x00000000004068e6 in main (argc=3, argv=0x7fffffffe568) at

parameters->target_ is NULL while work with archive.

Where is the proper place for initialization?

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]