[Bug gold/14860] New: gold_assert(oview_size == 8) fails in Eh_frame_hdr::do_sized_write()

2012-11-20 Thread thestig at google dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14860

 Bug #: 14860
   Summary: gold_assert(oview_size == 8) fails in
Eh_frame_hdr::do_sized_write()
   Product: binutils
   Version: 2.23
Status: NEW
  Severity: normal
  Priority: P2
 Component: gold
AssignedTo: i...@airs.com
ReportedBy: thes...@google.com
CC: ccout...@google.com
Classification: Unclassified


>From http://crbug.com/161942 :

We upgraded to gold 2.23.1 from 2.21.1 and the Chromium 32-bit would fail in a
flaky manner with the following error:

out/Release/../../third_party/gold/gold32: internal error in do_sized_write, at
ehframe.cc:170
collect2: ld returned 1 exit status
make: *** [out/Release/genmodule] Error 1

The relevant code is as follows:

Eh_frame_hdr::do_sized_write(Output_file* of)
{
...
const off_t oview_size = this->data_size();
...
gold_assert(oview_size == 8);  // Line 170.
}

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/16446] New: internal error in find_runnable_or_wait, at workqueue.cc:263

2014-01-13 Thread thestig at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16446

Bug ID: 16446
   Summary: internal error in find_runnable_or_wait, at
workqueue.cc:263
   Product: binutils
   Version: 2.23
Status: NEW
  Severity: normal
  Priority: P2
 Component: gold
  Assignee: ian at airs dot com
  Reporter: thestig at google dot com
CC: ccoutant at google dot com

Build Chromium r244583 on 64-bit Linux with
GYP_DEFINES="component=shared_library". When linking the chrome binary, instead
of just passing flags like --threads --thread-count=4 to gold, also pass in
--preread-archive-symbols.

The gold binary used is a pre-built copy checked into Chromium's
third_party/gold.

Expected: build completes successfully
Actually: gold fails with "internal error in find_runnable_or_wait, at
workqueue.cc:263"

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

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/16446] internal error in find_runnable_or_wait, at workqueue.cc:263

2014-02-05 Thread thestig at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16446

--- Comment #2 from Lei Zhang  ---
Created attachment 7395
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7395&action=edit
--debug=task output

Attached

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

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/16869] New: internal error in make_view, at fileread.cc:462

2014-04-23 Thread thestig at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16869

Bug ID: 16869
   Summary: internal error in make_view, at fileread.cc:462
   Product: binutils
   Version: 2.23
Status: NEW
  Severity: normal
  Priority: P2
 Component: gold
  Assignee: ian at airs dot com
  Reporter: thestig at google dot com
CC: ccoutant at google dot com

>From https://code.google.com/p/chromium/issues/detail?id=236772 :

When trying to link chrome, I sporadically get this error:

../../third_party/gold/gold64: internal error in make_view, at fileread.cc:462
collect2: ld returned 1 exit status

...

The error usually goes away if I just touch a file and rebuild.

The original report was with gold 2.23.1, and appears to still be happening
with 2.23.2.

Did bug 10147 resurface?

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

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/16869] internal error in make_view, at fileread.cc:462

2014-04-23 Thread thestig at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16869

--- Comment #2 from Lei Zhang  ---
We are building Chromium here. The command line / list of object files is very
very long.

We switched to 2.24 very recently, running with --disable-new-dtags still.

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

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/10219] New: Can't get stab symbols when linking with gold

2009-05-29 Thread thestig at google dot com
Using gold build from [1] and a 32-bit dump_syms from Google breakpad. Take a
hello world program and compile it without gold:

gcc -m32 -gstabs hello.c -o hello

and then run dump_syms hello will produce:
 
MODULE Linux x86 1888DA9DFDD4858254E7EA9FD030F83D0 hello
FILE 0 hello.c
FUNC 374 2b 0 main
374 11 4 0
385 c 5 0
391 5 6 0
396 9 7 0

then run:
gcc -m32 -gstabs -B/path/to/dir_with_gold hello.c -o hello

and I get:

MODULE Linux x86 C170460C4897C338F08D0B7886DAD6D50 hello
FUNC 1e4 2b 0
1e4 11 4 -1
1f5 c 5 -1
201 5 6 -1
206 9 7 -1


[1] ftp://sourceware.org/pub/binutils/snapshots/binutils-2.19.51.tar.bz2

-- 
   Summary: Can't get stab symbols when linking with gold
   Product: binutils
   Version: 2.20 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: gold
AssignedTo: ian at airs dot com
ReportedBy: thestig at google dot com
CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=10219

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/10219] Can't get stab symbols when linking with gold

2009-06-26 Thread thestig at google dot com

--- Additional Comments From thestig at google dot com  2009-06-26 18:17 
---
Works for me.

-- 
   What|Removed |Added

 Status|RESOLVED|VERIFIED


http://sourceware.org/bugzilla/show_bug.cgi?id=10219

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/10338] New: Incorrect stab symbols when linking with gold

2009-06-26 Thread thestig at google dot com
This is a follow up to bug 10219. I have a slightly more complicated test case
that works with ld but fails with gold.

gcc -m32 -gstabs foo.c abcdefghijklmnopqrstuvwxyz/bar.c -o foo; dump_syms foo

outputs:

MODULE Linux x86 14CA077E2EEA0AD8414217ED5D9862B70 foo
FILE 0 foo.c
FILE 1 abcdefghijklmnopqrstuvwxyz/bar.c
FUNC 3a4 30 0 main
3a4 11 5 0
3b5 c 6 0
3c1 5 7 0
3c6 5 8 0
3cb 9 9 0
FUNC 3d4 14 0 bar
3d4 6 4 1
3da c 5 1
3e6 2 6 1

gcc -m32 -gstabs foo.c abcdefghijklmnopqrstuvwxyz/bar.c -o foo -B/path/to/gold;
dump_syms foo

outputs:

MODULE Linux x86 FE9F1B283112582FEBD35996C677C4160 foo
FILE 0 foo.c
FILE 1 foo.c
FUNC 1e4 30 0 main
1e4 11 5 0
1f5 c 6 0
201 5 7 0
206 5 8 0
20b 9 9 0
FUNC 214 14 0 ijklmnopqrstuvwxyz/bar.c
214 6 4 1
21a c 5 1
226 2 6 1

-- 
   Summary: Incorrect stab symbols when linking with gold
   Product: binutils
   Version: 2.20 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: gold
AssignedTo: ian at airs dot com
ReportedBy: thestig at google dot com
CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=10338

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/10338] Incorrect stab symbols when linking with gold

2009-06-26 Thread thestig at google dot com

--- Additional Comments From thestig at google dot com  2009-06-26 20:53 
---
Created an attachment (id=4024)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4024&action=view)
test case


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10338

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/10949] output.cc fails with outpu t.cc:3509: error: format ‘%llx’ expec ts type ‘long long unsigned int’, but argumen t 2 has type ‘long unsigned int’

2009-11-18 Thread thestig at google dot com

--- Additional Comments From thestig at google dot com  2009-11-18 11:10 
---
Created an attachment (id=4393)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4393&action=view)
Use PRIx64 instead.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10949

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/10949] output.cc fails with outpu t.cc:3509: error: format ‘%llx’ expec ts type ‘long long unsigned int’, but argumen t 2 has type ‘long unsigned int’

2009-11-18 Thread thestig at google dot com


-- 
   What|Removed |Added

 CC||thestig at google dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=10949

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/10338] Incorrect stab symbols when linking with gold

2010-01-04 Thread thestig at google dot com

--- Additional Comments From thestig at google dot com  2010-01-04 19:28 
---
Ian, can you send the patch to google-breakpad?

The plan is to move away from stab symbols for google-breakpad, but it's not
there yet.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10338

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils