[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/12004] "ar --plugin" doesn't work with more than 9 files
From: |
hjl dot tools at gmail dot com |
Subject: |
[Bug binutils/12004] "ar --plugin" doesn't work with more than 9 files |
Date: |
15 Sep 2010 14:51:30 -0000 |
------- Additional Comments From hjl dot tools at gmail dot com 2010-09-15
14:51 -------
The problem is
#define BFD_CACHE_MAX_OPEN 10
...
bfd_boolean
bfd_cache_init (bfd *abfd)
{
BFD_ASSERT (abfd->iostream != NULL);
if (open_files >= BFD_CACHE_MAX_OPEN)
{
if (! close_one ())
return FALSE;
}
abfd->iovec = &cache_iovec;
insert (abfd);
++open_files;
return TRUE;
}
When you use AR with more than 9 files, one of them
will be closed. But plugin isn't prepared to deal with it.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|assertion fail |"ar --plugin" doesn't work
|../../binutils/bfd/plugin.c:|with more than 9 files
|250 while using ar with gcc |
|lto plugin |
http://sourceware.org/bugzilla/show_bug.cgi?id=12004
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug binutils/12004] New: assertion fail ../../binutils/bfd/plugin.c:250 while using ar with gcc lto plugin, andi-bz at firstfloor dot org, 2010/09/11
- [Bug binutils/12004] assertion fail ../../binutils/bfd/plugin.c:250 while using ar with gcc lto plugin, andi-bz at firstfloor dot org, 2010/09/11
- [Bug binutils/12004] assertion fail ../../binutils/bfd/plugin.c:250 while using ar with gcc lto plugin, andi-bz at firstfloor dot org, 2010/09/11
- [Bug binutils/12004] "ar --plugin" doesn't work with more than 9 files,
hjl dot tools at gmail dot com <=
- [Bug binutils/12004] "ar --plugin" doesn't work with more than 9 files, andi-bz at firstfloor dot org, 2010/09/15
- [Bug binutils/12004] "ar --plugin" doesn't work with more than 9 files, hjl dot tools at gmail dot com, 2010/09/15
- [Bug binutils/12004] "ar --plugin" doesn't work with more than 9 files, andi-bz at firstfloor dot org, 2010/09/16
- [Bug binutils/12004] "ar --plugin" doesn't work with more than 9 files, hjl dot tools at gmail dot com, 2010/09/17