NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-arm/53696: git meta pkg: dangerously unsupported relocations, C compiler cannot create executables



>Number:         53696
>Category:       port-arm
>Synopsis:       git meta pkg: dangerously unsupported relocations, C compiler cannot create executables
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 02 10:25:00 +0000 2018
>Originator:     Artturi Alm
>Release:        8.99.25
>Organization:
>Environment:
NetBSD arm64 8.99.25 NetBSD 8.99.25 (GENERIC64) #0: Tue Oct 30 16:41:53 UTC 2018  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm
>Description:
besides changing the root passwd,
all i did on a fresh arm64(pine a64+) image from
  http://www.invisible.ca/arm/
is in the "How to repeat the problem".

.work.log:
  http://ix.io/1qHC

messages i saw before the failure, and config.log:
  http://ix.io/1qHC

possibly the relevant part from config.log:

configure:3384: checking whether the C compiler works
configure:3406: gcc -O2 -fomit-frame-pointer -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib conftest.c  >&5
/usr/lib/crt0.o:(.eh_frame+0x20): dangerous relocation: unsupported relocation
/usr/lib/crt0.o:(.eh_frame+0x48): dangerous relocation: unsupported relocation
/usr/lib/crtbegin.o:(.eh_frame+0x1c): dangerous relocation: unsupported relocation
/usr/lib/crtbegin.o:(.eh_frame+0x30): dangerous relocation: unsupported relocation
/var/tmp//cc3DRT8m.o:(.eh_frame+0x1c): dangerous relocation: unsupported relocation
ld: .eh_frame_hdr entry overflow.
ld: .eh_frame_hdr refers to overlapping FDEs.
ld: final link failed: Bad value
configure:3410: $? = 1
configure:3448: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libXft"
| #define PACKAGE_TARNAME "libXft"
| #define PACKAGE_VERSION "2.3.2"
| #define PACKAGE_STRING "libXft 2.3.2"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg";
| #define PACKAGE_URL ""
| #define PACKAGE "libXft"
| #define VERSION "2.3.2"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3453: error: in `/usr/pkgsrc/x11/libXft/work/libXft-2.3.2':
configure:3456: error: C compiler cannot create executables
>How-To-Repeat:
# cd /usr
# cvs -d anoncvs%anoncvs.netbsd.org@localhost:/cvsroot checkout -P pkgsrc
# cd /usr/pkgsrc/devel/git
# make install
>Fix:



Home | Main Index | Thread Index | Old Index