NetBSD-Bugs archive

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

Re: toolchain/51147: Segmentation fault with build.sh on OpenBSD current (trying rump)



________________________________________
From: Christos Zoulas <christos%zoulas.com@localhost>
Sent: Monday, May 23, 2016 6:30 PM
To: toolchain-manager%netbsd.org@localhost; gnats-admin%netbsd.org@localhost; netbsd-bugs%netbsd.org@localhost; Bodzar Tomas T
Subject: RE: toolchain/51147: Segmentation fault with build.sh on OpenBSD current (trying rump)

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

From: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, toolchain-manager%netbsd.org@localhost,
        gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
        tomas.t.bodzar%tieto.com@localhost
Cc:
Subject: RE: toolchain/51147: Segmentation fault with build.sh on OpenBSD current (trying rump)
Date: Mon, 23 May 2016 12:26:33 -0400

 On May 23,  1:45pm, Tomas.T.Bodzar%tieto.com@localhost (<Tomas.T.Bodzar%tieto.com@localhost>) wrote:
 -- Subject: RE: toolchain/51147: Segmentation fault with build.sh on OpenBSD

 |  Christos
 |
 |  It is further down the road
 |
 |  $ cd /usr/local/lib/gcc/x86_64-unknown-openbsd6.0/4.9.3/include
 |  $ ls -F
 |  adxintrin.h         cpuid.h             mm_malloc.h         ssp/
 |  ammintrin.h         cross-stdarg.h      mmintrin.h          tbmintrin.h
 |  avx2intrin.h        emmintrin.h         nmmintrin.h         tgmath.h
 |  avx512cdintrin.h    f16cintrin.h        pmmintrin.h         tmmintrin.h
 |  avx512erintrin.h    fma4intrin.h        popcntintrin.h      unwind.h
 |  avx512fintrin.h     fmaintrin.h         prfchwintrin.h      wmmintrin.h
 |  avx512pfintrin.h    fxsrintrin.h        quadmath.h          x86intrin.h
 |  avxintrin.h         ia32intrin.h        quadmath_weak.h     xmmintrin.h
 |  bmi2intrin.h        immintrin.h         rdseedintrin.h      xopintrin.h
 |  bmiintrin.h         lwpintrin.h         rtmintrin.h         xsaveintrin.h
 |  bmmintrin.h         lzcntintrin.h       shaintrin.h         xsaveoptintrin.=
 |  h
 |  cilk/               mm3dnow.h           smmintrin.h         xtestintrin.h
 |  $ ls -lF ssp/
 |  total 36
 |  -rw-r--r--  1 root  bin  2402 May 14 02:17 ssp.h
 |  -rw-r--r--  1 root  bin  3473 May 14 02:17 stdio.h
 |  -rw-r--r--  1 root  bin  5720 May 14 02:17 string.h
 |  -rw-r--r--  1 root  bin  2816 May 14 02:17 unistd.h

 Yes, so it should be finding it... since the stdio.h is just next to it.
 What am I missing?

 christos

I honestly do not know. Trying to find it out too. Will be something small for sure. Eg.

$ pwd
/home/username/rumprun/src-netbsd/lib/libc/ssp
$ ls -F
Makefile.inc                gets_chk.c                  memset_chk.c                ssp.3                       strcat_chk.c                strncpy_chk.c
__builtin_object_size.3     memcpy_chk.c                snprintf_chk.c              stpcpy_chk.c                strcpy_chk.c                vsnprintf_chk.c
fgets_chk.c                 memmove_chk.c               sprintf_chk.c               stpncpy_chk.c               strncat_chk.c               vsprintf_chk.c
$ cat Makefile.inc
#       $NetBSD: Makefile.inc,v 1.5 2014/04/06 19:29:37 christos Exp $

.PATH: ${.CURDIR}/ssp

SSP_SRCS=       gets_chk.c fgets_chk.c memcpy_chk.c memmove_chk.c memset_chk.c \
                snprintf_chk.c sprintf_chk.c stpcpy_chk.c stpncpy_chk.c \
                strcat_chk.c strcpy_chk.c strncat_chk.c strncpy_chk.c \
                vsnprintf_chk.c vsprintf_chk.c

.for i in ${SSP_SRCS}
SRCS+=${i}
WARNS.${i}=4
.endfor

MAN+=   ssp.3 __builtin_object_size.3
$

Does it mean that that Makefile.inc from NetBSD tries to look for stuff needed in ssp/ directory when such directory does not exist in NetBSD src?

BTW is there a way how to change mail address in bug report? I have it set to plain text, but still Outlook sending out crap and is bad for reading (for anyone probably)




Home | Main Index | Thread Index | Old Index