https://sourceware.org/bugzilla/show_bug.cgi?id=18695
--- Comment #10 from Cary Coutant ---
Created attachment 8963
--> https://sourceware.org/bugzilla/attachment.cgi?id=8963&action=edit
Patch to fix broken x32 overflow checks
Fix incorrect x32 overflow checking for refs to weak undef symbols.
https://sourceware.org/bugzilla/show_bug.cgi?id=18695
--- Comment #9 from H.J. Lu ---
(In reply to H.J. Lu from comment #8)
> X32 overflow check is wrong. One x32 gold test failure:
>
> Cary, do you want me to fix it?
You can build x32 gold under Ubuntu with
CC="gcc -mx32 -fno-lto " CXX="g++
https://sourceware.org/bugzilla/show_bug.cgi?id=19567
--- Comment #14 from H.J. Lu ---
Another R_X86_64_32S overflow check testcase:
[hjl@gnu-tools-1 pr19567]$ cat x.S
#ifndef SPACE
#define SPACE 0x8000
#endif
.data
.space SPACE
.comm foo,4
.text
.glob
https://sourceware.org/bugzilla/show_bug.cgi?id=18695
--- Comment #8 from H.J. Lu ---
X32 overflow check is wrong. One x32 gold test failure:
`echo g++ -mx32 -fno-lto -W -Wall-Werror -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -fmerge-constants -g -O2 -fno-use-linker-plugin
-static-libstdc
https://sourceware.org/bugzilla/show_bug.cgi?id=19577
Cary Coutant changed:
What|Removed |Added
Attachment #8962|0 |1
is patch|
https://sourceware.org/bugzilla/show_bug.cgi?id=19577
Cary Coutant changed:
What|Removed |Added
Attachment #8961|0 |1
is obsolete|
https://sourceware.org/bugzilla/show_bug.cgi?id=19577
--- Comment #9 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by Cary Coutant :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b7a4e9d8e6a854d2344ab7963e531d6f19571d2e
commit b7a4e9d8e6a854d2344ab7963e5
https://sourceware.org/bugzilla/show_bug.cgi?id=19577
--- Comment #8 from Cary Coutant ---
Sorry, that patch was stale. Here's the correct version.
-cary
On Sat, Feb 6, 2016 at 5:55 PM, Cary Coutant wrote:
>> /export/gnu/import/git/sources/binutils-gdb/gold/reloc.h:1009:37: error:
>> integer
https://sourceware.org/bugzilla/show_bug.cgi?id=19577
--- Comment #7 from Cary Coutant ---
> /export/gnu/import/git/sources/binutils-gdb/gold/reloc.h:1009:37: error:
> integer overflow in expression [-Werror=overflow]
> int32_t max = (1 << (bits - 1)) - 1;
>
https://sourceware.org/bugzilla/show_bug.cgi?id=19567
--- Comment #13 from H.J. Lu ---
Another testcase:
[hjl@gnu-tools-1 pr18695]$ cat bar.c
#include
extern int *get_foo (void);
int
main ()
{
int *p = get_foo ();
printf ("foo: %d\n", *p);
*p = 1;
printf ("foo: %d\n", *p);
return 0;
https://sourceware.org/bugzilla/show_bug.cgi?id=19577
H.J. Lu changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|FIXED
https://sourceware.org/bugzilla/show_bug.cgi?id=19567
--- Comment #12 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by Cary Coutant :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=19ef3f4d2eaac10e98c7ba3f9eace8609ab5278e
commit 19ef3f4d2eaac10e98c7ba3f9e
https://sourceware.org/bugzilla/show_bug.cgi?id=19576
--- Comment #4 from H.J. Lu ---
The difference is
@ -317,7 +317,7 @@ Symbol table '.symtab' contains 95 entri
37: 0004 4 OBJECT GLOBAL DEFAULT COM ResourceStateCallback
38: 0 NOTYPE GLOBAL DEFAULT UND _CallC
https://sourceware.org/bugzilla/show_bug.cgi?id=19576
--- Comment #3 from Richard PALO ---
(In reply to H.J. Lu from comment #2)
> I built a cross binutils to x86_64-solaris2 on Linux/x86-64 and got
>
> [hjl@gnu-tools-1 gas]$ nm -lug x.o | grep ree
> U __dtrace_Xserver___resource__free
https://sourceware.org/bugzilla/show_bug.cgi?id=19577
--- Comment #5 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by Cary Coutant :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=72c55146bb505642994637071b305bf4d30ef685
commit 72c55146bb505642994637071b3
https://sourceware.org/bugzilla/show_bug.cgi?id=19577
Cary Coutant changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=19577
--- Comment #3 from Cary Coutant ---
Created attachment 8960
--> https://sourceware.org/bugzilla/attachment.cgi?id=8960&action=edit
Patch to fix the problem.
Here's the patch. Sorry, I forgot to add the PR number when committing the fix.
h
https://sourceware.org/bugzilla/show_bug.cgi?id=19576
H.J. Lu changed:
What|Removed |Added
Status|NEW |WAITING
CC|
https://sourceware.org/bugzilla/show_bug.cgi?id=19577
--- Comment #2 from H.J. Lu ---
Here is a patch to move address overflow check to reloc.h:
https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=8504d6a46b0bf19857f3ab55848bd9fc1d430ecb
--
You are receiving this mail because:
You are on
https://sourceware.org/bugzilla/show_bug.cgi?id=19577
--- Comment #1 from H.J. Lu ---
powerpc.cc has working address overflow check:
template
class Powerpc_relocate_functions
{
public:
enum Overflow_check
{
CHECK_NONE,
CHECK_SIGNED,
CHECK_UNSIGNED,
CHECK_BITFIELD,
CHECK_L
https://sourceware.org/bugzilla/show_bug.cgi?id=19577
H.J. Lu changed:
What|Removed |Added
Version|unspecified |2.27 (HEAD)
--
You are receiving this mail
https://sourceware.org/bugzilla/show_bug.cgi?id=19577
Bug ID: 19577
Summary: Gold failed to build with GCC 5.3
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: gold
https://sourceware.org/bugzilla/show_bug.cgi?id=19567
--- Comment #11 from H.J. Lu ---
Here is a testcase:
[hjl@gnu-tools-1 pr18695]$ cat foo.S
.data
.space 0x8000
.comm foo,4
[hjl@gnu-tools-1 pr18695]$ cat main.c
#include
extern int foo;
int
main ()
{
printf (
https://sourceware.org/bugzilla/show_bug.cgi?id=19405
romain.naour at gmail dot com changed:
What|Removed |Added
CC||romain.naour at gmail d
https://sourceware.org/bugzilla/show_bug.cgi?id=11539
Domani Hannes changed:
What|Removed |Added
CC||ssbssa at yahoo dot de
--- Comment #1
25 matches
Mail list logo