[Bug binutils/18269] avr-binutils fail to build

2015-04-16 Thread gjl at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=18269

Georg-Johann Lay gjl at gcc dot gnu.org changed:

   What|Removed |Added

 CC||senthil.thecoder at gmail dot 
com

-- 
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 binutils/18269] New: avr-binutils fail to build

2015-04-16 Thread gjl at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=18269



Bug ID: 18269

   Summary: avr-binutils fail to build

   Product: binutils

   Version: 2.26 (HEAD)

Status: NEW

  Severity: normal

  Priority: P2

 Component: binutils

  Assignee: unassigned at sourceware dot org

  Reporter: gjl at gcc dot gnu.org



The current avr-Binutils fail to build because of a build warning which

actually rises an erreor.



This blocks the build robot from producing usable results, c.f. the results
 for

avr at http://toolchain.lug-owl.de/buildbot/#job436509



binutils configures as



./../source/binutils-master/configure --target=avr

--prefix=/local/gnu/install/gcc-5.0 --disable-nls



Build message:



gcc -DHAVE_CONFIG_H -I. -I../../../source/binutils-master/gas  -I.

-I../../../source/binutils-master/gas -I../bfd

-I../../../source/binutils-master/gas/config

-I../../../source/binutils-master/gas/../include

-I../../../source/binutils-master/gas/..

-I../../../source/binutils-master/gas/../bfd

-DLOCALEDIR=\/local/gnu/install/gcc-5.0/share/locale\  -W -Wall

-Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror

-I../../../source/binutils-master/gas/../zlib -g -O2 -MT tc-avr.o -MD -MP -
MF

.deps/tc-avr.Tpo -c -o tc-avr.o `test -f 'config/tc-avr.c' || echo

'../../../source/binutils-master/gas/'`config/tc-avr.c

../../../source/binutils-master/gas/config/tc-avr.c: In function

‘create_record_for_frag’:

../../../source/binutils-master/gas/config/tc-avr.c:2063:36: error: declara
tion

of ‘link’ shadows a global declaration [-Werror=shadow]

cc1: all warnings being treated as errors

make[4]: *** [tc-avr.o] Error 1

make[4]: Leaving directory `/local/gnu/build/binutils-master-avr/gas'

make[3]: *** [all-recursive] Error 1

make[3]: Leaving directory `/local/gnu/build/binutils-master-avr/gas'

make[2]: *** [all] Error 2

make[2]: Leaving directory `/local/gnu/build/binutils-master-avr/gas'

make[1]: *** [all-gas] Error 2

make[1]: Leaving directory `/local/gnu/build/binutils-master-avr'

make: *** [all] Error 2



-- 

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 binutils/18269] avr-binutils fail to build

2015-04-16 Thread gjl at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=18269

Georg-Johann Lay gjl at gcc dot gnu.org changed:

   What|Removed |Added

 Target||avr

-- 
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 ld/18270] New: [AArch64] relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against

2015-04-16 Thread david.abdurachmanov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18270

Bug ID: 18270
   Summary: [AArch64] relocation truncated to fit:
R_AARCH64_LD64_GOT_LO12_NC against
   Product: binutils
   Version: 2.25
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
  Assignee: unassigned at sourceware dot org
  Reporter: david.abdurachmanov at gmail dot com

Discussion started 2014 July:
https://sourceware.org/ml/binutils/2014-07/msg00130.html

Noticed while building CVMFS on Fedora 22 AArch64:

https://ecsft.cern.ch/dist/cvmfs/cvmfs-2.1.20/cvmfs-2.1.20-1.fc21.src.rpm

[root@ubuntu ~]# gcc -dumpversion
5.0.1
[root@ubuntu ~]# ld -v
GNU ld version 2.25-5.fc22

## ERRORS ##

libcvmfs.a(libcvmfs.a_pub.o): In function `TryArgumentFormatter':
wpad.cc:(.text+0x840d8): relocation truncated to fit:
R_AARCH64_LD64_GOT_LO12_NC against `js_GetErrorMessage'
libcvmfs.a(libcvmfs.a_pub.o): In function `JS_ConvertArgumentsVA':
wpad.cc:(.text+0x842c4): relocation truncated to fit:
R_AARCH64_LD64_GOT_LO12_NC against `js_GetErrorMessage'
libcvmfs.a(libcvmfs.a_pub.o): In function `JS_ConvertValue':
wpad.cc:(.text+0x857f4): relocation truncated to fit:
R_AARCH64_LD64_GOT_LO12_NC against `js_GetErrorMessage'
libcvmfs.a(libcvmfs.a_pub.o): In function
`JS_EnumerateResolvedStandardClasses':
wpad.cc:(.text+0x92250): relocation truncated to fit:
R_AARCH64_LD64_GOT_LO12_NC against `js_InitObjectClass'
libcvmfs.a(libcvmfs.a_pub.o): In function `JS_GetScopeChain':
wpad.cc:(.text+0x92388): relocation truncated to fit:
R_AARCH64_LD64_GOT_LO12_NC against `js_GetErrorMessage'
libcvmfs.a(libcvmfs.a_pub.o): In function `JS_LockGCThing':
wpad.cc:(.text+0x927ac): relocation truncated to fit:
R_AARCH64_LD64_GOT_LO12_NC against `js_GetErrorMessage'
libcvmfs.a(libcvmfs.a_pub.o): In function `JS_UnlockGCThing':
wpad.cc:(.text+0x92828): relocation truncated to fit:
R_AARCH64_LD64_GOT_LO12_NC against `js_GetErrorMessage'
libcvmfs.a(libcvmfs.a_pub.o): In function `JS_InstanceOf':
wpad.cc:(.text+0x9358c): relocation truncated to fit:
R_AARCH64_LD64_GOT_LO12_NC against `js_GetErrorMessage'
libcvmfs.a(libcvmfs.a_pub.o): In function `JS_GetConstructor':
wpad.cc:(.text+0x93c20): relocation truncated to fit:
R_AARCH64_LD64_GOT_LO12_NC against `js_GetErrorMessage'
libcvmfs.a(libcvmfs.a_pub.o): In function `JS_SealObject':
wpad.cc:(.text+0x93dbc): relocation truncated to fit:
R_AARCH64_LD64_GOT_LO12_NC against `js_GetErrorMessage'
libcvmfs.a(libcvmfs.a_pub.o): In function `JS_AliasProperty':
wpad.cc:(.text+0x94874): additional relocation overflows omitted from the
output
collect2: error: ld returned 1 exit status

I created a tarball

http://davidlt.web.cern.ch/davidlt/vault/bugzilla_pr_arm64_ld.tar.xz

of 3.1M. It contains logs and minimal binaries required to reproduce this
failure (launch ./build.sh).

This will generate libcvmfs.a and then attempt to build a small test
application.

$ tar tf bugzilla_pr_arm64_ld.tar.xz
bugzilla_pr_arm64_ld/
bugzilla_pr_arm64_ld/combine_libs
bugzilla_pr_arm64_ld/libcurl.a
bugzilla_pr_arm64_ld/build.sh
bugzilla_pr_arm64_ld/libsqlite3.a
bugzilla_pr_arm64_ld/libcvmfs_public_syms.txt
bugzilla_pr_arm64_ld/combine_libs.log
bugzilla_pr_arm64_ld/libcares.a
bugzilla_pr_arm64_ld/link_failures.log
bugzilla_pr_arm64_ld/libcvmfs.h
bugzilla_pr_arm64_ld/libz.a
bugzilla_pr_arm64_ld/libpacparser.a
bugzilla_pr_arm64_ld/test_libcvmfs.cc
bugzilla_pr_arm64_ld/libcvmfs_only.a

-- 
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 ld/18270] [AArch64] relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against

2015-04-16 Thread david.abdurachmanov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18270

David Abdurachmanov david.abdurachmanov at gmail dot com changed:

   What|Removed |Added

 Target||aarch64-*-linux-gnu
 CC||pinskia at gcc dot gnu.org,
   ||rearnsha at arm dot com,
   ||rth at redhat dot com,
   ||sch...@linux-m68k.org
   Host||aarch64-*-linux-gnu

-- 
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 ld/18270] [AArch64] relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against

2015-04-16 Thread david.abdurachmanov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18270

David Abdurachmanov david.abdurachmanov at gmail dot com changed:

   What|Removed |Added

 CC||pbrobinson at gmail dot com

-- 
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 ld/18270] [AArch64] relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against

2015-04-16 Thread jiwang at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=18270

Jiong Wang jiwang at gcc dot gnu.org changed:

   What|Removed |Added

 CC||jiwang at gcc dot gnu.org
   Assignee|unassigned at sourceware dot org   |jiwang at gcc dot 
gnu.org

--- Comment #1 from Jiong Wang jiwang at gcc dot gnu.org ---
David, thanks for reporting this. I will have a look.

-- 
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 ld/18270] [AArch64] relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against

2015-04-16 Thread jiwang at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=18270

--- Comment #2 from Jiong Wang jiwang at gcc dot gnu.org ---
Reproduced.

And after a quick investigation I believe the root cause is exactly what
Richard Henderson has explained at

  https://sourceware.org/ml/binutils/2014-07/msg00155.html

-- 
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