y: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: curaga at operamail dot com
Created attachment 7533
--> https://sourceware.org/bugzilla/attachment.cgi?id=7533&action=edit
Source to the sample binary.
Binutils git 115c6d5c37ee7
sstr
https://sourceware.org/bugzilla/show_bug.cgi?id=16811
--- Comment #1 from curaga at operamail dot com ---
Created attachment 7534
--> https://sourceware.org/bugzilla/attachment.cgi?id=7534&action=edit
Unstripped binary
--
You are receiving this mail because:
You are on the CC list for
https://sourceware.org/bugzilla/show_bug.cgi?id=16811
--- Comment #2 from curaga at operamail dot com ---
Created attachment 7535
--> https://sourceware.org/bugzilla/attachment.cgi?id=7535&action=edit
sstripped binary
--
You are receiving this mail because:
You are on the CC list for
https://sourceware.org/bugzilla/show_bug.cgi?id=16811
--- Comment #3 from curaga at operamail dot com ---
Created attachment 7536
--> https://sourceware.org/bugzilla/attachment.cgi?id=7536&action=edit
sstripped + stripped binary
--
You are receiving this mail because:
You are on the
https://sourceware.org/bugzilla/show_bug.cgi?id=16811
--- Comment #6 from curaga at operamail dot com ---
Right, I expect an operation such as
cd /usr/bin
strip -g *
to be safe, even if some are sstripped.
--
You are receiving this mail because:
You are on the CC list for the bug
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: curaga at operamail dot com
Created attachment 7595
--> https://sourceware.org/bugzilla/attachment.cgi?id=7595&action=edit
Tarball of the testcase.
This is an enhancement request
https://sourceware.org/bugzilla/show_bug.cgi?id=16934
--- Comment #1 from curaga at operamail dot com ---
lib.h:
#ifndef FOO_H
#define FOO_H
class interface {
public:
virtual void foo() = 0;
virtual void bar() = 0;
};
interface* getclass();
#endif
--
You are receiving this mail
https://sourceware.org/bugzilla/show_bug.cgi?id=16934
--- Comment #3 from curaga at operamail dot com ---
app.cpp:
#include "lib.h"
int main() {
interface *i = getclass();
i->bar();
return 0;
}
--
You are receiving this mail because:
You are on the CC lis
https://sourceware.org/bugzilla/show_bug.cgi?id=16934
--- Comment #2 from curaga at operamail dot com ---
lib.cpp:
#include
#include "lib.h"
class myclass: public interface {
public:
void foo() { puts("foo"); }
void bar() { puts("bar"); }
};
interfac
https://sourceware.org/bugzilla/show_bug.cgi?id=16934
--- Comment #5 from curaga at operamail dot com ---
It fails to remove the function foo, which is in its own section
_ZN7myclass3fooEv and unused.
It still happens on current git, 2.24.51.20140618 or 6a83deeaa804 (Brown paper
bag
https://sourceware.org/bugzilla/show_bug.cgi?id=16934
curaga at operamail dot com changed:
What|Removed |Added
Version|2.23|2.25 (HEAD)
--
You are
https://sourceware.org/bugzilla/show_bug.cgi?id=16934
--- Comment #7 from curaga at operamail dot com ---
That's why this is an enhancement request :)
I'd like to see that sophistication added to the linker. This is needed
separately from LTO for various reasons:
- use with older comp
12 matches
Mail list logo