Roger Koehler wrote:
Making all in src
make[3]: Entering directory '/sources/libtirpc/libtirpc-1.0.1/src'
   CC       libtirpc_la-auth_none.lo
auth_none.c: In function 'authnone_marshal':
auth_none.c:109:1: internal compiler error: Segmentation fault
  authnone_marshal(AUTH *client, XDR *xdrs)

I can't duplicate the problem. In my current lfs sandbox (my only one with gcc-6.3, in chroot):

   92  tar -xf libtirpc-1.0.1.tar.bz2
   93  ls
   94  cd libtirpc-1.0.1
95 ./configure --prefix=/usr --sysconfdir=/etc --disable-static --disable-gssapi
   96  ls
   97  make V=1 2>&1 | tee make.log

From the log, the first entries are:

/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../tirpc -include config.h -DPORTMAP -DINET6 -D_GNU_SOURCE -Wall -pipe -g -O2 -MT libtirpc_la-auth_none.lo -MD -MP -MF .deps/libtirpc_la-auth_none.Tpo -c -o libtirpc_la-auth_none.lo `test -f 'auth_none.c' || echo './'`auth_none.c

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../tirpc -include config.h -DPORTMAP -DINET6 -D_GNU_SOURCE -Wall -pipe -g -O2 -MT libtirpc_la-auth_none.lo -MD -MP -MF .deps/libtirpc_la-auth_none.Tpo -c auth_none.c -fPIC -DPIC -o .libs/libtirpc_la-auth_none.o
mv -f .deps/libtirpc_la-auth_none.Tpo .deps/libtirpc_la-auth_none.Plo


Try testing:

gcc -DHAVE_CONFIG_H -I. -I.. -I../tirpc -include config.h -DPORTMAP -DINET6 -D_GNU_SOURCE -Wall -pipe -g -O2 -MT libtirpc_la-auth_none.lo -MD -MP -MF .deps/libtirpc_la-auth_none.Tpo -c -o libtirpc_la-auth_none.lo `test -f 'auth_none.c'

and see if you get the same error. It's possible that libtool needs to be rebuilt with gcc-6.3, but that's just a guess.

I do not have time today to reboot to the new LFS and test libtirpc there.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to