The following reply was made to PR ports/6337; it has been noted by GNATS. From: Sebastian Reitenbach <[email protected]> To: [email protected] Cc: Subject: Re: ports/6337: CUPS fails with /usr/bin/ld: not enough GOT space for local GOT entries Date: Sun, 06 Jun 2010 14:54:57 +0200
Hi, [email protected] wrote: >> Number: 6337 >> Category: ports >> Synopsis: CUPS fails with /usr/bin/ld: not enough GOT space for local >> GOT entries >> Confidential: yes >> Severity: serious >> Priority: medium >> Responsible: bugs >> State: open >> Quarter: >> Keywords: >> Date-Required: >> Class: sw-bug >> Submitter-Id: unknown >> Arrival-Date: Thu Mar 18 09:30:01 GMT 2010 >> Closed-Date: >> Last-Modified: >> Originator: >> Release: >> Organization: >> Environment: >> > System : OpenBSD 4.7 > Details : OpenBSD 4.7 (GENERIC) #1: Wed Mar 10 01:57:54 MST 2010 > > [email protected]:/usr/src/sys/arch/loongson/compile/GENERIC > > Architecture: OpenBSD.loongson > Machine : loongson > >> Description: >> > When building print/cups the following error is triggered: > > Linking texttops... > cc -L../cups -L../filter -L/usr/local/lib -pthread -Wl,-R/usr/local/lib > -fPIC -O2 -pipe -I/usr/local/include -I/usr/local/include/libpng -O0 > -fstack-protector -o texttops texttops.o textcommon.o common.o -lcups -lssl > -lcrypto -pthread -lm > ../cups/libcups.so.4.0: warning: strcpy() is almost always misused, please > use strlcpy() > ../cups/libcups.so.4.0: warning: sprintf() is often misused, please use > snprintf() > /usr/bin/ld: not enough GOT space for local GOT entries > /usr/bin/ld: BFD 2.15 internal error, aborting at > /usr/src/gnu/usr.bin/binutils/bfd/elfxx-mips.c line 6483 in > _bfd_mips_elf_relocate_section > > /usr/bin/ld: Please report this bug. > > > >> How-To-Repeat: >> > cd /usr/ports/print/cups; make > >> Fix: >> > It appears that this is related to a binutils bugreport ld/1882, fix > unknown. > > The same happens on sgi/mips64 with a recent snapshot: OpenBSD 4.7-current (GENERIC-IP27) #4: Wed May 26 17:37:12 MDT 2010 [email protected]:/usr/src/sys/arch/sgi/compile/GENERIC-IP27 real mem = 1073741824 (1024MB) rsvd mem = 20463616 (19MB) avail mem = 998162432 (951MB) mainbus0 at root: Origin 3000 cpu0 at mainbus0 nasid 0: MIPS R12000 CPU rev 3.5 400 MHz, R12000 FPU rev 3.5 cpu0: cache L1-I 32KB D 32KB 2 way, L2 8192KB 2 way clock0 at mainbus0 nasid 0: ticker on int5 using count register spdmem0 at mainbus0 nasid 0 dimm 0: 512MB DDR SDRAM registered ECC PC1600CL2.5 spdmem1 at mainbus0 nasid 0 dimm 1: 512MB DDR SDRAM registered ECC PC1600CL2.5 spdmem2 at mainbus0 nasid 0 dimm 2: 512MB DDR SDRAM registered ECC PC1600CL2.5 spdmem3 at mainbus0 nasid 0 dimm 3: 512MB DDR SDRAM registered ECC PC1600CL2.5 xbow0 at mainbus0 nasid 0: XXBow revision 2 xbridge0 at xbow0 widget 15: XBridge revision 2 xbpci0 at xbridge0 bus 0: 33 MHz PCI bus pci0 at xbpci0 bus 0 ioc0 at pci0 dev 4 function 0 "SGI IOC3" rev 0x01 onewire0 at ioc0 ioc0: ethernet irq 4, xbow irq 62 ioc0: superio irq 0, xbow irq 61 com0 at ioc0 base 0x20178: ns16550a, 16 byte fifo com0: console iec0 at ioc0: 128KB SSRAM, address 08:00:69:11:ca:be nsphyter0 at iec0 phy 1: DP83843 10/100 PHY, rev. 0 dsrtc0 at ioc0: DS1742W ohci0 at pci0 dev 5 function 0 "AT&T/Lucent USB 2-port" rev 0x10: irq 5, xbow irq 60, version 1.0, legacy support "TI TSB12LV22 FireWire" rev 0x01 at pci0 dev 6 function 0 not configured usb0 at ohci0: USB revision 1.0 uhub0 at usb0 "AT&T/Lucent OHCI root hub" rev 1.00/1.00 addr 1 xbridge1 at xbow0 widget 14: XBridge revision 2 xbpci1 at xbridge1 bus 0: 66 MHz PCI bus pci1 at xbpci1 bus 0 isp0 at pci1 dev 1 function 0 "QLogic ISP2200" rev 0x05: irq 1, xbow irq 58 isp0: board type 2200 rev 0x5, loaded firmware rev 2.2.6 scsibus0 at isp0: 512 targets, WWPN 210000e08b000000, WWNN 200000e08b000000 /dev/ksyms: Symbol table not valid. umass0 at uhub0 port 2 configuration 1 interface 0 "memory USB2.0" rev 2.00/2.00 addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: <memory, USB2.0, 1.00> SCSI2 0/direct removable sd0: 3931MB, 512 bytes/sec, 8051200 sec total vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root boot device: 'dksc(0,1,0)' unrecognized. root device: use one of: exit iec0 sd0[a-p] root device: sd0a swap device (default sd0b): root on sd0a swap on sd0b dump on sd0b WARNING: / was not properly unmounted
