[Bug binutils/15706] New: Loongson 3A is MIPS64R2-compatible

2013-06-30 Thread root at heiher dot info
http://sourceware.org/bugzilla/show_bug.cgi?id=15706

Bug ID: 15706
   Summary: Loongson 3A is MIPS64R2-compatible
   Product: binutils
   Version: unspecified
Status: NEW
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: root at heiher dot info

Loongson 3A is MIPS64R2-compatible, so this means that it should based
on ISA_MIPS64R2 (not ISA_MIPS64) ?

References:
http://www.loongson.cn/uploadfile/201204/Loongson3A_processor_user_manual_P2_GS464processor_core_V1.3.pdf
(Page 16)

-- 
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/15706] Loongson 3A is MIPS64R2-compatible

2013-06-30 Thread root at heiher dot info
http://sourceware.org/bugzilla/show_bug.cgi?id=15706

--- Comment #1 from Heiher  ---
Created attachment 7103
  --> http://sourceware.org/bugzilla/attachment.cgi?id=7103&action=edit
Patch

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


binutils docs link missing

2013-06-30 Thread lothar atheling
re:
http://sourceware.org/binutils/docs-2.23.1/binutils/nm.html
http://sourceware.org/binutils/docs-2.23.1/binutils/objdump.html

on these two pages links to 
http://sourceware.org/binutils/docs-2.23.1/stabs/index.html

fail.

-- 
http://www.fastmail.fm - Does exactly what it says on the tin


___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/15707] New: Assertion failed while trying to statically link a C++ program

2013-06-30 Thread logout at free dot fr
http://sourceware.org/bugzilla/show_bug.cgi?id=15707

Bug ID: 15707
   Summary: Assertion failed while trying to statically link a C++
program
   Product: binutils
   Version: 2.23
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
  Assignee: unassigned at sourceware dot org
  Reporter: logout at free dot fr

Created attachment 7104
  --> http://sourceware.org/bugzilla/attachment.cgi?id=7104&action=edit
Script to build a full cross-compilation toolchain from scratch

I'm trying to build a reliable ARM toolchain from scratch (see attached
script/archive for further information). After several days, I managed to
create that toolchain and I compiled a very simple C++ program. 

// main.cxx
#include 
#include 

int main(int ac, char const *av[])
{
std::string app = av[0];

std::cout << "APP: " << app << std::endl;
for (int n = 1; n < ac; ++n) {
std::cout << "\tARG" << n << ": " << av[n] << std::endl;
}
}

When compiling with "armeb-edt-linux-gnueabi-g++ -o main main.cxx" everything
looks fine and the generated code seems legit. 

When compiling with "armeb-edt-linux-gnueabi-g++ -static -o main main.cxx", ld
fails with the following assertion: 

/home/edt/personnal/cross-compile/staging/armeb-edt-linux-gnueabi/usr/lib/gcc/armeb-edt-linux-gnueabi/4.7.3/../../../../armeb-edt-linux-gnueabi/bin/ld:
BFD (GNU Binutils) 2.23.2 assertion fail
/home/edt/personnal/cross-compile/.source/binutils-2.23.2/bfd/elf32-arm.c:7363
collect2: error: ld returned 1 exit status

-- 
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/15707] Assertion failed while trying to statically link a C++ program

2013-06-30 Thread logout at free dot fr
http://sourceware.org/bugzilla/show_bug.cgi?id=15707

--- Comment #1 from Emmanuel Deloget  ---
Regarding the build-toolchain.sh script:

I tried to automate every steps of the build process, including wget'ing the
source. 

Once compiled, the toolchain binaries is to be found in
$PWD/staging/armeb-edt-linux-gnueabi/usr/bin; these binaries are using host
librairies that lie in $PWD/staging/host/usr/lib (so you may want to add this
to your LD_LIBRARY_PATH before calling armeb-edt-linux-gnueabi-g++). 

You may want to remove the parts you don't want from the script (for instance,
the last steps compile a linux kernel ; this is of limited interest). 

My build settings: Debian Weezhy with gcc 4.8.1 and binutils 2.22.

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