pkgsrc-Bugs archive

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

Re: pkg/52962: sysutils/memtestplus fails when built on -current



The following reply was made to PR pkg/52962; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/52962: sysutils/memtestplus fails when built on -current
Date: Mon, 29 Jan 2018 12:10:18 -0600 (CST)

 Following these commits:
 
   http://mail-index.netbsd.org/pkgsrc-changes/2018/01/29/msg170021.html
   http://mail-index.netbsd.org/pkgsrc-changes/2018/01/29/msg170028.html
   http://mail-index.netbsd.org/pkgsrc-changes/2018/01/29/msg170031.html
 
 I updated "sysutils/memtestplus" to HEAD.  Unfortunately, the build
 on an amd64-8.0_BETA host fails with:
 
 [...]
 gcc -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC  -fno-stack-protector    -c -o vmem.o vmem.c
 gcc -c -Wall -march=i486 -m32 -O3 -fomit-frame-pointer -fno-builtin -ffreestanding random.c
 ld --allow-multiple-definition --warn-constructors --warn-common -static -T memtest_shared.lds \
  -o memtest_shared head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o config.o cpuid.o linuxbios.o pci.o memsize.o spd.o error.o dmi.o controller.o smp.o vmem.o random.o && \
 ld --allow-multiple-definition -shared -Bsymbolic -T memtest_shared.lds -o memtest_shared head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o config.o cpuid.o linuxbios.o pci.o memsize.o spd.o error.o dmi.o controller.o smp.o vmem.o random.o
 lib.o: In function `dprint':
 lib.c:(.text+0xe67): undefined reference to `__stack_chk_guard'
 lib.c:(.text+0x1077): undefined reference to `__stack_chk_guard'
 lib.c:(.text+0x1084): undefined reference to `__stack_chk_fail_local'
 lib.o: In function `hprint2':
 lib.c:(.text+0x109e): undefined reference to `__stack_chk_guard'
 lib.c:(.text+0x11a6): undefined reference to `__stack_chk_guard'
 lib.c:(.text+0x11b3): undefined reference to `__stack_chk_fail_local'
 lib.o: In function `hprint3':
 lib.c:(.text+0x11cd): undefined reference to `__stack_chk_guard'
 lib.c:(.text+0x12a3): undefined reference to `__stack_chk_guard'
 lib.c:(.text+0x12b0): undefined reference to `__stack_chk_fail_local'
 lib.o: In function `getval':
 lib.c:(.text+0x1b0e): undefined reference to `__stack_chk_guard'
 lib.c:(.text+0x1fa9): undefined reference to `__stack_chk_guard'
 lib.c:(.text+0x1fb6): undefined reference to `__stack_chk_fail_local'
 config.o: In function `get_config':
 config.c:(.text+0x11): undefined reference to `__stack_chk_guard'
 config.c:(.text+0xc47): undefined reference to `__stack_chk_guard'
 config.c:(.text+0xc54): undefined reference to `__stack_chk_fail_local'
 Makefile:29: recipe for target 'memtest_shared' failed
 make[1]: *** [memtest_shared] Error 1
 make[1]: Leaving directory '/tmp/pkgsrc/sysutils/memtestplus/work/memtest86+-5.01'
 Makefile:73: recipe for target 'iso' failed
 gmake: *** [iso] Error 2
 *** Error code 2
 
 Stop.
 make[1]: stopped in /x/pkgsrc/sysutils/memtestplus
 *** Error code 1
 
 Stop.
 make: stopped in /x/pkgsrc/sysutils/memtestplus
 
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index