Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2014 15:51:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 175605] devel/binutils: please fix build binutils-2.23.1 in raspberry pi
Message-ID:  <bug-175605-7-iGe02S1R1a@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-175605-7@https.bugs.freebsd.org/bugzilla/>
References:  <bug-175605-7@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=175605

--- Comment #6 from mexas@bris.ac.uk ---
Forgot to say that this was with Andreas Tobler's patchset.
Also, it segfaults with the OS default ld too:

$ cat z.c
#include <stdio.h>
int main(int argc, char **argv)
{
        printf("mumu\n");
        return 0;
}
$ cc -c z.c -Wall
$ /usr/local/bin/ld -o z /usr/lib/crt1.o /usr/lib/crti.o z.o -lc
$ ldd z
z:
        libc.so.7 => /lib/libc.so.7 (0x2003c000)
$ file z
z: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses
shared libs), for FreBSD 10.0 (1000710), not stripped
$ ./z
Segmentation fault (core dumped)
$ /usr/bin/ld -o z /usr/lib/crt1.o /usr/lib/crti.o z.o -lc
$ ldd z
z:
        libc.so.7 => /lib/libc.so.7 (0x2003c000)
$ file z
z: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses
shared libs), for FreBSD 10.0 (1000710), not stripped
$ ./z
Segmentation fault (core dumped)
$

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-175605-7-iGe02S1R1a>