[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/460] New: g++ using gnu ld followed by /usr/ccs/bin/strip yields
From: |
ghudson at mit dot edu |
Subject: |
[Bug ld/460] New: g++ using gnu ld followed by /usr/ccs/bin/strip yields bad binary |
Date: |
19 Oct 2004 04:10:55 -0000 |
On Solaris 9 with an up-to-date patch 112936-16 (also confirmed with 112936-12),
running:
g++ hello.c # Using gnu ld from binutils-2.15
/usr/ccs/bin/strip a.out
./a.out
produces a bus error. hello.c is:
#include <stdio.h>
int main()
{
printf("Hello, world.\n");
}
The version of gcc does not appear very important; I confirmed the bug with
3.3.2 and 3.4.2.
The bug still manifests if I use gnu ld from the binutils trunk.
The bug does NOT manifest if I use the vendor ld, or gnu ld from binutils 2.14
or binutils 2.11.2. It also does not manifest if I use strip from binutils
instead of /usr/ccs/bin/strip, or if I link with gcc instead of with g++.
--
Summary: g++ using gnu ld followed by /usr/ccs/bin/strip yields
bad binary
Product: binutils
Version: 2.15
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: ghudson at mit dot edu
CC: bug-binutils at gnu dot org
GCC build triplet: sparc-sun-solaris2.9
GCC host triplet: sparc-sun-solaris2.9
GCC target triplet: sparc-sun-solaris2.9
http://sources.redhat.com/bugzilla/show_bug.cgi?id=460
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug ld/460] New: g++ using gnu ld followed by /usr/ccs/bin/strip yields bad binary,
ghudson at mit dot edu <=