unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18784: Coultdn't compile emacs-24.4
@ 2014-10-21 11:52 Gangræna Gorgeous
  2014-10-21 15:16 ` Eli Zaretskii
  2015-03-13 19:54 ` Glenn Morris
  0 siblings, 2 replies; 19+ messages in thread
From: Gangræna Gorgeous @ 2014-10-21 11:52 UTC (permalink / raw)
  To: 18784


[-- Attachment #1.1: Type: text/plain, Size: 1197 bytes --]

I've got segfault trying to compile emacs-24.4.

dmesg:
[ 1807.828767] grsec: denied resource overstep by requesting 4294967295 for
RLIMIT_NOFILE against limit 1048576 for
/var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/conftest[conftest:8947]
uid/euid:0/0 gid/egid:0/0, parent
/var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/configure[configure:8944]
uid/euid:0/0 gid/egid:0/0
[ 1807.828805] grsec: denied resource overstep by requesting 1048576 for
RLIMIT_NOFILE against limit 1048576 for
/var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/conftest[conftest:8947]
uid/euid:0/0 gid/egid:0/0, parent
/var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/configure[configure:8944]
uid/euid:0/0 gid/egid:0/0
[ 1817.329338] grsec: denied resource overstep by requesting 1048576 for
RLIMIT_NOFILE against limit 1048576 for
/var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/conftest[conftest:9974]
uid/euid:0/0 gid/egid:0/0, parent
/var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/configure[configure:9973]
uid/euid:0/0 gid/egid:0/0
[ 1850.050464] temacs[11504]: segfault at 47e1c0 ip 000003fff51346d0 sp
000003ffffff8478 error 4 in libc-2.19.so[3fff509b000+1af000]

[-- Attachment #1.2: Type: text/html, Size: 1347 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: build.log --]
[-- Type: text/x-log; charset=US-ASCII; name="build.log", Size: 101139 bytes --]

^[[32;01m * ^[[39;49;00mPackage:    app-editors/emacs-24.4
^[[32;01m * ^[[39;49;00mRepository: gentoo
^[[32;01m * ^[[39;49;00mMaintainer: emacs@gentoo.org
^[[32;01m * ^[[39;49;00mUSE:        X abi_x86_64 acl amd64 elibc_glibc gnutls kernel_linux pax_kernel userland_GNU xft xpm zlib
^[[32;01m * ^[[39;49;00mFEATURES:   sandbox usersandbox
>>> Unpacking source...
>>> Unpacking emacs-24.4.tar.xz to /var/tmp/portage/app-editors/emacs-24.4/work
>>> Source unpacked in /var/tmp/portage/app-editors/emacs-24.4/work
>>> Preparing source in /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4 ...
 ^[[32;01m*^[[0m strip-flags: CFLAGS: changed '-O2 -pipe -m64 -march=amdfam10 -m3dnow -mmmx -msse -msse2 -msse3 -msse4a -mcx16 -msahf -mfpmath=sse -mabm -m128bit-long-double -fPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2' to '-O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2'
 ^[[32;01m*^[[0m strip-flags: CXXFLAGS: changed '-O2 -pipe -m64 -march=amdfam10 -m3dnow -mmmx -msse -msse2 -msse3 -msse4a -mcx16 -msahf -mfpmath=sse -mabm -m128bit-long-double -fPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2' to '-O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2'
 ^[[32;01m*^[[0m strip-flags: LDFLAGS: changed '-pie -m64 -Wl,-O2 -Wl,--as-needed -s -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,--hash-style=gnu' to '-m64 -Wl,-O2 -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,--hash-style=gnu'
 ^[[32;01m*^[[0m Configuring to build with no toolkit
 * econf: updating emacs-24.4/build-aux/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating emacs-24.4/build-aux/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 --program-suffix=-emacs-24 --infodir=/usr/share/info/emacs-24 --localstatedir=/var --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp --with-gameuser=games --without-compress-install --with-file-notification=no --enable-acl --without-dbus --with-gnutls --without-gpm --without-hesiod --without-kerberos --without-kerberos5 --without-xml2 --without-selinux --without-wide-int --with-zlib --with-sound=no --with-x --without-ns --without-gconf --without-gsettings --without-toolkit-scroll-bars --without-gif --without-jpeg --without-png --without-rsvg --without-tiff --with-xpm --without-imagemagick --with-xft --without-libotf --without-m17n-flt --with-x-toolkit=no GENTOO_PACKAGE=app-editors/emacs-24.4
configure: loading site script /usr/share/config.site
checking for xcrun... no
checking for a BSD-compatible install... /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for Minix Amsterdam compiler... no
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... -std=gnu99
checking for x86_64-pc-linux-gnu-gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking whether the compiler is clang... no
checking whether ln -s works for files in the same directory... yes
checking for install-info... /usr/bin/install-info
checking for gzip... /bin/gzip
checking for paxctl... /sbin/paxctl
checking whether binaries have a PT_PAX_FLAGS header... yes
checking for setfattr... yes
checking for makeinfo... /usr/bin/makeinfo
checking for -znocombreloc... yes
checking whether addresses are sanitized... no
checking for pkg-config... /usr/bin/pkg-config
checking for sys/systeminfo.h... no
checking for coff.h... no
checking for pty.h... yes
checking for sys/resource.h... yes
checking for sys/utsname.h... yes
checking for pwd.h... yes
checking for utmp.h... yes
checking for util.h... no
checking for sys/socket.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for pthread.h... yes
checking for malloc/malloc.h... no
checking for maillock.h... yes
checking for sys/un.h... yes
checking for dirent.h... yes
checking for execinfo.h... yes
checking for stdio_ext.h... yes
checking for getopt.h... yes
checking for sys/time.h... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for sys/select.h... yes
checking for sys/stat.h... (cached) yes
checking for utime.h... yes
checking if personality LINUX32 can be set... yes
checking for term.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether sys_siglist is declared... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for net/if.h... yes
checking for ifaddrs.h... yes
checking for net/if_dl.h... no
checking for struct ifreq.ifr_flags... yes
checking for struct ifreq.ifr_hwaddr... yes
checking for struct ifreq.ifr_netmask... yes
checking for struct ifreq.ifr_broadaddr... yes
checking for struct ifreq.ifr_addr... yes
checking for struct ifreq.ifr_addr.sa_len... no
checking whether we are using GNU Make... yes
checking whether gcc understands -MMD -MF... yes
checking for long file names... yes
checking for X... libraries , headers 
checking whether malloc is Doug Lea style... yes
checking sys/vlimit.h usability... yes
checking sys/vlimit.h presence... yes
checking for sys/vlimit.h... yes
checking for data_start... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for dnet_ntoa in -ldnet... no
checking for main in -lXbsd... no
checking for pthread_self in -lpthread... yes
checking for cma_open in -lpthreads... no
checking whether X on GNU/Linux needs -b to link... no
checking for Xkb... yes
checking for XrmSetDatabase... yes
checking for XScreenResourceString... yes
checking for XScreenNumberOfScreen... yes
checking X11 version 6... 6 or newer
checking for gnutls >= 3.0.0... yes CFLAGS='' LIBS='-lgnutls '
checking for fontconfig >= 2.2.0... yes CFLAGS='-I/usr/include/freetype2 ' LIBS='-lfontconfig -lfreetype '
checking for xft >= 0.13.0... yes CFLAGS='-I/usr/include/freetype2 ' LIBS='-lXft '
checking for XRenderQueryExtension in -lXrender... yes
checking for X11/Xft/Xft.h... yes
checking for XftFontOpen in -lXft... yes
checking for freetype2... yes CFLAGS='-I/usr/include/freetype2 ' LIBS='-lfreetype '
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking for XpmReadFileToPixmap in -lXpm... yes
checking for XpmReturnAllocPixels preprocessor define... yes
checking for library containing inflateEnd... -lz
checking X11/SM/SMlib.h usability... yes
checking X11/SM/SMlib.h presence... yes
checking for X11/SM/SMlib.h... yes
checking for SmcOpenConnection in -lSM... yes
checking for xrandr >= 1.2.2... yes CFLAGS='' LIBS='-lXrandr '
checking for XRRGetOutputPrimary... yes
checking for XRRGetScreenResourcesCurrent... yes
checking for xinerama >= 1.0.2... yes CFLAGS='' LIBS='-lXinerama '
checking whether netdb declares h_errno... yes
checking for sqrt in -lm... yes
checking for maillock in -lmail... no
checking for maillock in -llockfile... yes
checking for accept4... yes
checking for fchdir... yes
checking for gethostname... yes
checking for getrusage... yes
checking for get_current_dir_name... yes
checking for lrand48... yes
checking for select... yes
checking for getpagesize... (cached) yes
checking for setlocale... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for shutdown... yes
checking for getaddrinfo... yes
checking for strsignal... yes
checking for setitimer... yes
checking for sendto... yes
checking for recvfrom... yes
checking for getsockname... yes
checking for getpeername... yes
checking for getifaddrs... yes
checking for freeifaddrs... yes
checking for gai_strerror... yes
checking for getline... yes
checking for getdelim... yes
checking for sync... yes
checking for getpwent... yes
checking for endpwent... yes
checking for getgrent... yes
checking for endgrent... yes
checking for touchlock... yes
checking for cfmakeraw... yes
checking for cfsetspeed... yes
checking for copysign... yes
checking for __executable_start... yes
checking for log2... yes
checking for aligned_alloc... yes
checking for random... yes
checking for rint... yes
checking for __builtin_unwind_init... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for grantpt... yes
checking for getpt... yes
checking for posix_openpt... yes
checking for library containing tputs... -lncurses
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking for tzset... yes
checking for readlinkat... yes
checking for getdtablesize... yes
checking for faccessat... yes
checking for fcntl... yes
checking for fdopendir... yes
checking for fstatat... yes
checking for fsync... yes
checking for gettimeofday... yes
checking for nanotime... no
checking for lstat... yes
checking for mkostemp... yes
checking for pipe2... yes
checking for pselect... yes
checking for pthread_sigmask... yes
checking for fchmod... yes
checking for readlink... yes
checking for strtoimax... yes
checking for strtoumax... yes
checking for symlink... yes
checking for localtime_r... yes
checking for futimes... yes
checking for futimesat... yes
checking for futimens... yes
checking for utimensat... yes
checking for lutimes... yes
checking for secure_getenv... yes
checking whether localtime caches TZ... no
checking for socket... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for snprintf... yes
checking whether GLib is linked in... no
checking for nl_langinfo and CODESET... yes
checking for mbstate_t... yes
checking for C restricted array declarations... yes
checking for signals via characters... yes
checking for _setjmp... yes
checking for usable FIONREAD... yes
checking for usable SIGIO... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for unsigned long long int... yes
checking whether byte ordering is bigendian... no
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking whether strtold conforms to C99... yes
checking if environ is properly declared... yes
checking for complete errno.h... yes
checking for mode_t... yes
checking whether fdatasync is declared... yes
checking for st_dm_mode in struct stat... no
checking whether strmode is declared... no
checking whether lstat correctly handles trailing slash... yes
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... yes
checking for working GNU getopt function... yes
checking for working GNU getopt_long function... yes
checking whether getenv is declared... yes
checking for C/C++ restrict keyword... __restrict
checking for struct timeval... yes
checking for wide-enough struct timeval.tv_sec member... yes
checking for long long int... yes
checking whether stdint.h conforms to C99... yes
checking whether memrchr is declared... yes
checking whether alarm is declared... yes
checking whether <sys/select.h> is self-contained... yes
checking for sigset_t... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for wchar_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking whether strtoimax is declared... yes
checking whether strtoumax is declared... yes
checking whether stat file-mode macros are broken... no
checking for struct timespec in <time.h>... yes
checking whether unsetenv is declared... yes
checking whether the utimes function works... yes
checking for struct utimbuf... yes
checking type of array argument to getgroups... gid_t
checking for alloca as a compiler built-in... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking for library containing clock_gettime... none required
checking for clock_gettime... yes
checking for clock_settime... yes
checking whether dup2 works... yes
checking for library containing backtrace_symbols_fd... none required
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check
checking for library containing fdatasync... none required
checking whether fdopendir is declared... yes
checking whether fdopendir works... yes
checking for __fpending... yes
checking whether __fpending is declared... yes
checking whether fstatat (..., 0) works... yes
checking for getloadavg... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking whether getloadavg is declared... yes
checking whether gettimeofday clobbers localtime buffer... no
checking for gettimeofday with POSIX signature... almost
checking for memrchr... yes
checking for working mktime... yes
checking whether signature of pselect conforms to POSIX... yes
checking whether pselect detects invalid fds... yes
checking whether pthread_sigmask works without -lpthread... yes
checking whether pthread_sigmask returns error numbers... yes
checking whether pthread_sigmask unblocks signals correctly... guessing yes
checking for putenv compatible with GNU and SVID... yes
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking for library containing acl_get_file... -lacl
checking for acl_get_file... yes
checking for acl_get_fd... yes
checking for acl_set_file... yes
checking for acl_set_fd... yes
checking for acl_free... yes
checking for acl_from_mode... yes
checking for acl_from_text... yes
checking for acl_delete_def_file... yes
checking for acl_extended_file... yes
checking for acl_delete_fd_np... no
checking for acl_delete_file_np... no
checking for acl_copy_ext_native... no
checking for acl_create_entry_np... no
checking for acl_to_short_text... no
checking for acl_free_text... no
checking for working acl_get_file... yes
checking acl/libacl.h usability... yes
checking acl/libacl.h presence... yes
checking for acl/libacl.h... yes
checking for acl_entries... yes
checking for ACL_FIRST_ENTRY... yes
checking for ACL_TYPE_EXTENDED... no
checking whether readlink signature is correct... yes
checking whether readlink handles trailing slash correctly... yes
checking for sig2str... no
checking for volatile sig_atomic_t... yes
checking for sighandler_t... yes
checking for socklen_t... yes
checking for ssize_t... yes
checking for struct stat.st_atim.tv_nsec... yes
checking whether struct stat.st_atim is of type struct timespec... yes
checking for struct stat.st_birthtimespec.tv_nsec... no
checking for struct stat.st_birthtimensec... no
checking for struct stat.st_birthtim.tv_nsec... no
checking for working stdalign.h... yes
checking for va_copy... yes
checking whether NULL can be used in arbitrary expressions... yes
checking whether strtoimax works... yes
checking whether symlink handles trailing slash correctly... yes
checking whether <sys/select.h> is self-contained... (cached) yes
checking for nlink_t... yes
checking whether localtime_r is declared... yes
checking whether localtime_r is compatible with its POSIX signature... yes
checking for library containing timer_settime... -lrt
checking for timer_settime... yes
checking for unsetenv... yes
checking for unsetenv() return type... int
checking whether unsetenv obeys POSIX... yes
checking whether getdtablesize works... yes

Configured for `x86_64-pc-linux-gnu'.

  Where should the build process find the source code?    .
  What compiler should emacs be built with?               x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
  Should Emacs use the GNU version of malloc?             yes
      (Using Doug Lea's new malloc from the GNU C Library.)
  Should Emacs use a relocating allocator for buffers?    no
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          none
  Where do we find X Windows header files?                Standard dirs
  Where do we find X Windows libraries?                   Standard dirs
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   yes
  Does Emacs use -ljpeg?                                  no
  Does Emacs use -ltiff?                                  no
  Does Emacs use a gif library?                           no 
  Does Emacs use a png library?                           no 
  Does Emacs use -lrsvg-2?                                no
  Does Emacs use imagemagick?                             no
  Does Emacs support sound?                               no
  Does Emacs use -lgpm?                                   no
  Does Emacs use -ldbus?                                  no
  Does Emacs use -lgconf?                                 no
  Does Emacs use GSettings?                               no
  Does Emacs use a file notification library?             no
  Does Emacs use access control lists?                    yes -lacl
  Does Emacs use -lselinux?                               no
  Does Emacs use -lgnutls?                                yes
  Does Emacs use -lxml2?                                  no
  Does Emacs use -lfreetype?                              yes
  Does Emacs use -lm17n-flt?                              no
  Does Emacs use -lotf?                                   no
  Does Emacs use -lxft?                                   yes
  Does Emacs directly use zlib?                           yes
  Does Emacs use toolkit scroll bars?                     no


checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating lib-src/Makefile
config.status: creating oldXMenu/Makefile
config.status: creating doc/emacs/Makefile
config.status: creating doc/misc/Makefile
config.status: creating doc/lispintro/Makefile
config.status: creating doc/lispref/Makefile
config.status: creating src/Makefile
config.status: creating lwlib/Makefile
config.status: creating lisp/Makefile
config.status: creating leim/Makefile
config.status: creating nextstep/Makefile
config.status: creating nt/Makefile
config.status: creating admin/unidata/Makefile
config.status: creating admin/grammars/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing src/epaths.h commands
config.status: executing src/.gdbinit commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4 ...
make -j5 
[ -r "src/config.in" ] || ( cd . && autoheader )
cd lib && make all -j --jobserver-fds=3,4                         \
  CC='x86_64-pc-linux-gnu-gcc -std=gnu99' CFLAGS='-O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2' CPPFLAGS='' \
  LDFLAGS='-m64 -Wl,-O2 -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,--hash-style=gnu ' MAKE='make'
make[1]: Entering directory '/var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/lib'
rm -f alloca.h-t alloca.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  cat ./alloca.in.h; \
} > alloca.h-t && \
mv -f alloca.h-t alloca.h
rm -f c++defs.h-t c++defs.h && \
sed -n -e '/_GL_CXXDEFS/,$p' \
  < ../build-aux/snippet/c++defs.h \
  > c++defs.h-t && \
mv c++defs.h-t c++defs.h
rm -f arg-nonnull.h-t arg-nonnull.h && \
sed -n -e '/GL_ARG_NONNULL/,$p' \
  < ../build-aux/snippet/arg-nonnull.h \
  > arg-nonnull.h-t && \
mv arg-nonnull.h-t arg-nonnull.h
rm -f warn-on-use.h-t warn-on-use.h && \
sed -n -e '/^.ifndef/,$p' \
  < ../build-aux/snippet/warn-on-use.h \
  > warn-on-use.h-t && \
mv warn-on-use.h-t warn-on-use.h
/bin/mkdir -p sys
rm -f sys/types.h-t sys/types.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
      -e 's|@''INCLUDE_NEXT''@|include_next|g' \
      -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
      -e 's|@''PRAGMA_COLUMNS''@||g' \
      -e 's|@''NEXT_SYS_TYPES_H''@|<sys/types.h>|g' \
      -e 's|@''WINDOWS_64_BIT_OFF_T''@|0|g' \
      < ./sys_types.in.h; \
} > sys/types.h-t && \
mv sys/types.h-t sys/types.h
rm -f dirent.h-t dirent.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
      -e 's|@''HAVE_DIRENT_H''@|1|g' \
      -e 's|@''INCLUDE_NEXT''@|include_next|g' \
      -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
      -e 's|@''PRAGMA_COLUMNS''@||g' \
      -e 's|@''NEXT_DIRENT_H''@|<dirent.h>|g' \
      -e 's/@''GNULIB_OPENDIR''@/0/g' \
      -e 's/@''GNULIB_READDIR''@/0/g' \
      -e 's/@''GNULIB_REWINDDIR''@/0/g' \
      -e 's/@''GNULIB_CLOSEDIR''@/0/g' \
      -e 's/@''GNULIB_DIRFD''@/0/g' \
      -e 's/@''GNULIB_FDOPENDIR''@/1/g' \
      -e 's/@''GNULIB_SCANDIR''@/0/g' \
      -e 's/@''GNULIB_ALPHASORT''@/0/g' \
      -e 's/@''HAVE_OPENDIR''@/1/g' \
      -e 's/@''HAVE_READDIR''@/1/g' \
      -e 's/@''HAVE_REWINDDIR''@/1/g' \
      -e 's/@''HAVE_CLOSEDIR''@/1/g' \
      -e 's|@''HAVE_DECL_DIRFD''@|1|g' \
      -e 's|@''HAVE_DECL_FDOPENDIR''@|1|g' \
      -e 's|@''HAVE_FDOPENDIR''@|1|g' \
      -e 's|@''HAVE_SCANDIR''@|1|g' \
      -e 's|@''HAVE_ALPHASORT''@|1|g' \
      -e 's|@''REPLACE_OPENDIR''@|0|g' \
      -e 's|@''REPLACE_CLOSEDIR''@|0|g' \
      -e 's|@''REPLACE_DIRFD''@|0|g' \
      -e 's|@''REPLACE_FDOPENDIR''@|0|g' \
      -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
      -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
      -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
      < ./dirent.in.h; \
} > dirent.h-t && \
mv dirent.h-t dirent.h
rm -f fcntl.h-t fcntl.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
      -e 's|@''INCLUDE_NEXT''@|include_next|g' \
      -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
      -e 's|@''PRAGMA_COLUMNS''@||g' \
      -e 's|@''NEXT_FCNTL_H''@|<fcntl.h>|g' \
      -e 's/@''GNULIB_FCNTL''@/1/g' \
      -e 's/@''GNULIB_NONBLOCKING''@/0/g' \
      -e 's/@''GNULIB_OPEN''@/0/g' \
      -e 's/@''GNULIB_OPENAT''@/0/g' \
      -e 's|@''HAVE_FCNTL''@|1|g' \
      -e 's|@''HAVE_OPENAT''@|1|g' \
      -e 's|@''REPLACE_FCNTL''@|1|g' \
      -e 's|@''REPLACE_OPEN''@|0|g' \
      -e 's|@''REPLACE_OPENAT''@|0|g' \
      -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
      -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
      -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
      < ./fcntl.in.h; \
} > fcntl.h-t && \
mv fcntl.h-t fcntl.h
rm -f inttypes.h-t inttypes.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  sed -e 's/@''HAVE_INTTYPES_H''@/1/g' \
      -e 's|@''INCLUDE_NEXT''@|include_next|g' \
      -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
      -e 's|@''PRAGMA_COLUMNS''@||g' \
      -e 's|@''NEXT_INTTYPES_H''@|<inttypes.h>|g' \
      -e 's/@''PRI_MACROS_BROKEN''@/0/g' \
      -e 's/@''APPLE_UNIVERSAL_BUILD''@/0/g' \
      -e 's/@''HAVE_LONG_LONG_INT''@/1/g' \
      -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/1/g' \
      -e 's/@''PRIPTR_PREFIX''@/__PRIPTR_PREFIX/g' \
      -e 's/@''GNULIB_IMAXABS''@/0/g' \
      -e 's/@''GNULIB_IMAXDIV''@/0/g' \
      -e 's/@''GNULIB_STRTOIMAX''@/1/g' \
      -e 's/@''GNULIB_STRTOUMAX''@/1/g' \
      -e 's/@''HAVE_DECL_IMAXABS''@/1/g' \
      -e 's/@''HAVE_DECL_IMAXDIV''@/1/g' \
      -e 's/@''HAVE_DECL_STRTOIMAX''@/1/g' \
      -e 's/@''HAVE_DECL_STRTOUMAX''@/1/g' \
      -e 's/@''REPLACE_STRTOIMAX''@/0/g' \
      -e 's/@''REPLACE_STRTOUMAX''@/0/g' \
      -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/1/g' \
      -e 's/@''INT64_MAX_EQ_LONG_MAX''@/defined _LP64/g' \
      -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/1/g' \
      -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/defined _LP64/g' \
      -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
      -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
      -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
      < ./inttypes.in.h; \
} > inttypes.h-t && \
mv inttypes.h-t inttypes.h
rm -f signal.h-t signal.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
      -e 's|@''INCLUDE_NEXT''@|include_next|g' \
      -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
      -e 's|@''PRAGMA_COLUMNS''@||g' \
      -e 's|@''NEXT_SIGNAL_H''@|<signal.h>|g' \
      -e 's|@''GNULIB_PTHREAD_SIGMASK''@|1|g' \
      -e 's|@''GNULIB_RAISE''@|0|g' \
      -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/0/g' \
      -e 's/@''GNULIB_SIGPROCMASK''@/0/g' \
      -e 's/@''GNULIB_SIGACTION''@/0/g' \
      -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|1|g' \
      -e 's|@''HAVE_PTHREAD_SIGMASK''@|1|g' \
      -e 's|@''HAVE_RAISE''@|1|g' \
      -e 's|@''HAVE_SIGSET_T''@|1|g' \
      -e 's|@''HAVE_SIGINFO_T''@|1|g' \
      -e 's|@''HAVE_SIGACTION''@|1|g' \
      -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|1|g' \
      -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|1|g' \
      -e 's|@''HAVE_SIGHANDLER_T''@|1|g' \
      -e 's|@''REPLACE_PTHREAD_SIGMASK''@|1|g' \
      -e 's|@''REPLACE_RAISE''@|0|g' \
      -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
      -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
      -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
      < ./signal.in.h; \
} > signal.h-t && \
mv signal.h-t signal.h
rm -f stdio.h-t stdio.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
      -e 's|@''INCLUDE_NEXT''@|include_next|g' \
      -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
      -e 's|@''PRAGMA_COLUMNS''@||g' \
      -e 's|@''NEXT_STDIO_H''@|<stdio.h>|g' \
      -e 's/@''GNULIB_DPRINTF''@/0/g' \
      -e 's/@''GNULIB_FCLOSE''@/0/g' \
      -e 's/@''GNULIB_FDOPEN''@/0/g' \
      -e 's/@''GNULIB_FFLUSH''@/0/g' \
      -e 's/@''GNULIB_FGETC''@/1/g' \
      -e 's/@''GNULIB_FGETS''@/1/g' \
      -e 's/@''GNULIB_FOPEN''@/0/g' \
      -e 's/@''GNULIB_FPRINTF''@/1/g' \
      -e 's/@''GNULIB_FPRINTF_POSIX''@/0/g' \
      -e 's/@''GNULIB_FPURGE''@/0/g' \
      -e 's/@''GNULIB_FPUTC''@/1/g' \
      -e 's/@''GNULIB_FPUTS''@/1/g' \
      -e 's/@''GNULIB_FREAD''@/1/g' \
      -e 's/@''GNULIB_FREOPEN''@/0/g' \
      -e 's/@''GNULIB_FSCANF''@/1/g' \
      -e 's/@''GNULIB_FSEEK''@/0/g' \
      -e 's/@''GNULIB_FSEEKO''@/0/g' \
      -e 's/@''GNULIB_FTELL''@/0/g' \
      -e 's/@''GNULIB_FTELLO''@/0/g' \
      -e 's/@''GNULIB_FWRITE''@/1/g' \
      -e 's/@''GNULIB_GETC''@/1/g' \
      -e 's/@''GNULIB_GETCHAR''@/1/g' \
      -e 's/@''GNULIB_GETDELIM''@/0/g' \
      -e 's/@''GNULIB_GETLINE''@/0/g' \
      -e 's/@''GNULIB_OBSTACK_PRINTF''@/0/g' \
      -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/0/g' \
      -e 's/@''GNULIB_PCLOSE''@/0/g' \
      -e 's/@''GNULIB_PERROR''@/0/g' \
      -e 's/@''GNULIB_POPEN''@/0/g' \
      -e 's/@''GNULIB_PRINTF''@/1/g' \
      -e 's/@''GNULIB_PRINTF_POSIX''@/0/g' \
      -e 's/@''GNULIB_PUTC''@/1/g' \
      -e 's/@''GNULIB_PUTCHAR''@/1/g' \
      -e 's/@''GNULIB_PUTS''@/1/g' \
      -e 's/@''GNULIB_REMOVE''@/0/g' \
      -e 's/@''GNULIB_RENAME''@/0/g' \
      -e 's/@''GNULIB_RENAMEAT''@/0/g' \
      -e 's/@''GNULIB_SCANF''@/1/g' \
      -e 's/@''GNULIB_SNPRINTF''@/0/g' \
      -e 's/@''GNULIB_SPRINTF_POSIX''@/0/g' \
      -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/0/g' \
      -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/0/g' \
      -e 's/@''GNULIB_TMPFILE''@/0/g' \
      -e 's/@''GNULIB_VASPRINTF''@/0/g' \
      -e 's/@''GNULIB_VDPRINTF''@/0/g' \
      -e 's/@''GNULIB_VFPRINTF''@/1/g' \
      -e 's/@''GNULIB_VFPRINTF_POSIX''@/0/g' \
      -e 's/@''GNULIB_VFSCANF''@/0/g' \
      -e 's/@''GNULIB_VSCANF''@/0/g' \
      -e 's/@''GNULIB_VPRINTF''@/1/g' \
      -e 's/@''GNULIB_VPRINTF_POSIX''@/0/g' \
      -e 's/@''GNULIB_VSNPRINTF''@/0/g' \
      -e 's/@''GNULIB_VSPRINTF_POSIX''@/0/g' \
      < ./stdio.in.h | \
  sed -e 's|@''HAVE_DECL_FPURGE''@|1|g' \
      -e 's|@''HAVE_DECL_FSEEKO''@|1|g' \
      -e 's|@''HAVE_DECL_FTELLO''@|1|g' \
      -e 's|@''HAVE_DECL_GETDELIM''@|1|g' \
      -e 's|@''HAVE_DECL_GETLINE''@|1|g' \
      -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|1|g' \
      -e 's|@''HAVE_DECL_SNPRINTF''@|1|g' \
      -e 's|@''HAVE_DECL_VSNPRINTF''@|1|g' \
      -e 's|@''HAVE_DPRINTF''@|1|g' \
      -e 's|@''HAVE_FSEEKO''@|1|g' \
      -e 's|@''HAVE_FTELLO''@|1|g' \
      -e 's|@''HAVE_PCLOSE''@|1|g' \
      -e 's|@''HAVE_POPEN''@|1|g' \
      -e 's|@''HAVE_RENAMEAT''@|1|g' \
      -e 's|@''HAVE_VASPRINTF''@|1|g' \
      -e 's|@''HAVE_VDPRINTF''@|1|g' \
      -e 's|@''REPLACE_DPRINTF''@|0|g' \
      -e 's|@''REPLACE_FCLOSE''@|0|g' \
      -e 's|@''REPLACE_FDOPEN''@|0|g' \
      -e 's|@''REPLACE_FFLUSH''@|0|g' \
      -e 's|@''REPLACE_FOPEN''@|0|g' \
      -e 's|@''REPLACE_FPRINTF''@|0|g' \
      -e 's|@''REPLACE_FPURGE''@|0|g' \
      -e 's|@''REPLACE_FREOPEN''@|0|g' \
      -e 's|@''REPLACE_FSEEK''@|0|g' \
      -e 's|@''REPLACE_FSEEKO''@|0|g' \
      -e 's|@''REPLACE_FTELL''@|0|g' \
      -e 's|@''REPLACE_FTELLO''@|0|g' \
      -e 's|@''REPLACE_GETDELIM''@|0|g' \
      -e 's|@''REPLACE_GETLINE''@|0|g' \
      -e 's|@''REPLACE_OBSTACK_PRINTF''@|0|g' \
      -e 's|@''REPLACE_PERROR''@|0|g' \
      -e 's|@''REPLACE_POPEN''@|0|g' \
      -e 's|@''REPLACE_PRINTF''@|0|g' \
      -e 's|@''REPLACE_REMOVE''@|0|g' \
      -e 's|@''REPLACE_RENAME''@|0|g' \
      -e 's|@''REPLACE_RENAMEAT''@|0|g' \
      -e 's|@''REPLACE_SNPRINTF''@|0|g' \
      -e 's|@''REPLACE_SPRINTF''@|0|g' \
      -e 's|@''REPLACE_STDIO_READ_FUNCS''@|0|g' \
      -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|0|g' \
      -e 's|@''REPLACE_TMPFILE''@|0|g' \
      -e 's|@''REPLACE_VASPRINTF''@|0|g' \
      -e 's|@''REPLACE_VDPRINTF''@|0|g' \
      -e 's|@''REPLACE_VFPRINTF''@|0|g' \
      -e 's|@''REPLACE_VPRINTF''@|0|g' \
      -e 's|@''REPLACE_VSNPRINTF''@|0|g' \
      -e 's|@''REPLACE_VSPRINTF''@|0|g' \
      -e 's|@''ASM_SYMBOL_PREFIX''@||g' \
      -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
      -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
      -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
} > stdio.h-t && \
mv stdio.h-t stdio.h
rm -f stdlib.h-t stdlib.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
      -e 's|@''INCLUDE_NEXT''@|include_next|g' \
      -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
      -e 's|@''PRAGMA_COLUMNS''@||g' \
      -e 's|@''NEXT_STDLIB_H''@|<stdlib.h>|g' \
      -e 's/@''GNULIB__EXIT''@/0/g' \
      -e 's/@''GNULIB_ATOLL''@/0/g' \
      -e 's/@''GNULIB_CALLOC_POSIX''@/0/g' \
      -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/0/g' \
      -e 's/@''GNULIB_GETLOADAVG''@/1/g' \
      -e 's/@''GNULIB_GETSUBOPT''@/0/g' \
      -e 's/@''GNULIB_GRANTPT''@/0/g' \
      -e 's/@''GNULIB_MALLOC_POSIX''@/0/g' \
      -e 's/@''GNULIB_MBTOWC''@/0/g' \
      -e 's/@''GNULIB_MKDTEMP''@/0/g' \
      -e 's/@''GNULIB_MKOSTEMP''@/1/g' \
      -e 's/@''GNULIB_MKOSTEMPS''@/0/g' \
      -e 's/@''GNULIB_MKSTEMP''@/0/g' \
      -e 's/@''GNULIB_MKSTEMPS''@/0/g' \
      -e 's/@''GNULIB_POSIX_OPENPT''@/0/g' \
      -e 's/@''GNULIB_PTSNAME''@/0/g' \
      -e 's/@''GNULIB_PTSNAME_R''@/0/g' \
      -e 's/@''GNULIB_PUTENV''@/1/g' \
      -e 's/@''GNULIB_RANDOM''@/0/g' \
      -e 's/@''GNULIB_RANDOM_R''@/0/g' \
      -e 's/@''GNULIB_REALLOC_POSIX''@/0/g' \
      -e 's/@''GNULIB_REALPATH''@/0/g' \
      -e 's/@''GNULIB_RPMATCH''@/0/g' \
      -e 's/@''GNULIB_SECURE_GETENV''@/0/g' \
      -e 's/@''GNULIB_SETENV''@/0/g' \
      -e 's/@''GNULIB_STRTOD''@/0/g' \
      -e 's/@''GNULIB_STRTOLL''@/0/g' \
      -e 's/@''GNULIB_STRTOULL''@/0/g' \
      -e 's/@''GNULIB_SYSTEM_POSIX''@/0/g' \
      -e 's/@''GNULIB_UNLOCKPT''@/0/g' \
      -e 's/@''GNULIB_UNSETENV''@/1/g' \
      -e 's/@''GNULIB_WCTOMB''@/0/g' \
      < ./stdlib.in.h | \
  sed -e 's|@''HAVE__EXIT''@|1|g' \
      -e 's|@''HAVE_ATOLL''@|1|g' \
      -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|1|g' \
      -e 's|@''HAVE_DECL_GETLOADAVG''@|1|g' \
      -e 's|@''HAVE_GETSUBOPT''@|1|g' \
      -e 's|@''HAVE_GRANTPT''@|1|g' \
      -e 's|@''HAVE_MKDTEMP''@|1|g' \
      -e 's|@''HAVE_MKOSTEMP''@|1|g' \
      -e 's|@''HAVE_MKOSTEMPS''@|1|g' \
      -e 's|@''HAVE_MKSTEMP''@|1|g' \
      -e 's|@''HAVE_MKSTEMPS''@|1|g' \
      -e 's|@''HAVE_POSIX_OPENPT''@|1|g' \
      -e 's|@''HAVE_PTSNAME''@|1|g' \
      -e 's|@''HAVE_PTSNAME_R''@|1|g' \
      -e 's|@''HAVE_RANDOM''@|1|g' \
      -e 's|@''HAVE_RANDOM_H''@|1|g' \
      -e 's|@''HAVE_RANDOM_R''@|1|g' \
      -e 's|@''HAVE_REALPATH''@|1|g' \
      -e 's|@''HAVE_RPMATCH''@|1|g' \
      -e 's|@''HAVE_SECURE_GETENV''@|1|g' \
      -e 's|@''HAVE_DECL_SETENV''@|1|g' \
      -e 's|@''HAVE_STRTOD''@|1|g' \
      -e 's|@''HAVE_STRTOLL''@|1|g' \
      -e 's|@''HAVE_STRTOULL''@|1|g' \
      -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|1|g' \
      -e 's|@''HAVE_SYS_LOADAVG_H''@|0|g' \
      -e 's|@''HAVE_UNLOCKPT''@|1|g' \
      -e 's|@''HAVE_DECL_UNSETENV''@|1|g' \
      -e 's|@''REPLACE_CALLOC''@|0|g' \
      -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|0|g' \
      -e 's|@''REPLACE_MALLOC''@|0|g' \
      -e 's|@''REPLACE_MBTOWC''@|0|g' \
      -e 's|@''REPLACE_MKSTEMP''@|0|g' \
      -e 's|@''REPLACE_PTSNAME''@|0|g' \
      -e 's|@''REPLACE_PTSNAME_R''@|0|g' \
      -e 's|@''REPLACE_PUTENV''@|0|g' \
      -e 's|@''REPLACE_RANDOM_R''@|0|g' \
      -e 's|@''REPLACE_REALLOC''@|0|g' \
      -e 's|@''REPLACE_REALPATH''@|0|g' \
      -e 's|@''REPLACE_SETENV''@|0|g' \
      -e 's|@''REPLACE_STRTOD''@|0|g' \
      -e 's|@''REPLACE_UNSETENV''@|0|g' \
      -e 's|@''REPLACE_WCTOMB''@|0|g' \
      -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
      -e '/definition of _Noreturn/r ../build-aux/snippet/_Noreturn.h' \
      -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
      -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
} > stdlib.h-t && \
mv stdlib.h-t stdlib.h
rm -f string.h-t string.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
      -e 's|@''INCLUDE_NEXT''@|include_next|g' \
      -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
      -e 's|@''PRAGMA_COLUMNS''@||g' \
      -e 's|@''NEXT_STRING_H''@|<string.h>|g' \
      -e 's/@''GNULIB_FFSL''@/0/g' \
      -e 's/@''GNULIB_FFSLL''@/0/g' \
      -e 's/@''GNULIB_MBSLEN''@/0/g' \
      -e 's/@''GNULIB_MBSNLEN''@/0/g' \
      -e 's/@''GNULIB_MBSCHR''@/0/g' \
      -e 's/@''GNULIB_MBSRCHR''@/0/g' \
      -e 's/@''GNULIB_MBSSTR''@/0/g' \
      -e 's/@''GNULIB_MBSCASECMP''@/0/g' \
      -e 's/@''GNULIB_MBSNCASECMP''@/0/g' \
      -e 's/@''GNULIB_MBSPCASECMP''@/0/g' \
      -e 's/@''GNULIB_MBSCASESTR''@/0/g' \
      -e 's/@''GNULIB_MBSCSPN''@/0/g' \
      -e 's/@''GNULIB_MBSPBRK''@/0/g' \
      -e 's/@''GNULIB_MBSSPN''@/0/g' \
      -e 's/@''GNULIB_MBSSEP''@/0/g' \
      -e 's/@''GNULIB_MBSTOK_R''@/0/g' \
      -e 's/@''GNULIB_MEMCHR''@/0/g' \
      -e 's/@''GNULIB_MEMMEM''@/0/g' \
      -e 's/@''GNULIB_MEMPCPY''@/0/g' \
      -e 's/@''GNULIB_MEMRCHR''@/1/g' \
      -e 's/@''GNULIB_RAWMEMCHR''@/0/g' \
      -e 's/@''GNULIB_STPCPY''@/0/g' \
      -e 's/@''GNULIB_STPNCPY''@/0/g' \
      -e 's/@''GNULIB_STRCHRNUL''@/0/g' \
      -e 's/@''GNULIB_STRDUP''@/0/g' \
      -e 's/@''GNULIB_STRNCAT''@/0/g' \
      -e 's/@''GNULIB_STRNDUP''@/0/g' \
      -e 's/@''GNULIB_STRNLEN''@/0/g' \
      -e 's/@''GNULIB_STRPBRK''@/0/g' \
      -e 's/@''GNULIB_STRSEP''@/0/g' \
      -e 's/@''GNULIB_STRSTR''@/0/g' \
      -e 's/@''GNULIB_STRCASESTR''@/0/g' \
      -e 's/@''GNULIB_STRTOK_R''@/0/g' \
      -e 's/@''GNULIB_STRERROR''@/0/g' \
      -e 's/@''GNULIB_STRERROR_R''@/0/g' \
      -e 's/@''GNULIB_STRSIGNAL''@/0/g' \
      -e 's/@''GNULIB_STRVERSCMP''@/0/g' \
      < ./string.in.h | \
  sed -e 's|@''HAVE_FFSL''@|1|g' \
      -e 's|@''HAVE_FFSLL''@|1|g' \
      -e 's|@''HAVE_MBSLEN''@|0|g' \
      -e 's|@''HAVE_MEMCHR''@|1|g' \
      -e 's|@''HAVE_DECL_MEMMEM''@|1|g' \
      -e 's|@''HAVE_MEMPCPY''@|1|g' \
      -e 's|@''HAVE_DECL_MEMRCHR''@|1|g' \
      -e 's|@''HAVE_RAWMEMCHR''@|1|g' \
      -e 's|@''HAVE_STPCPY''@|1|g' \
      -e 's|@''HAVE_STPNCPY''@|1|g' \
      -e 's|@''HAVE_STRCHRNUL''@|1|g' \
      -e 's|@''HAVE_DECL_STRDUP''@|1|g' \
      -e 's|@''HAVE_DECL_STRNDUP''@|1|g' \
      -e 's|@''HAVE_DECL_STRNLEN''@|1|g' \
      -e 's|@''HAVE_STRPBRK''@|1|g' \
      -e 's|@''HAVE_STRSEP''@|1|g' \
      -e 's|@''HAVE_STRCASESTR''@|1|g' \
      -e 's|@''HAVE_DECL_STRTOK_R''@|1|g' \
      -e 's|@''HAVE_DECL_STRERROR_R''@|1|g' \
      -e 's|@''HAVE_DECL_STRSIGNAL''@|1|g' \
      -e 's|@''HAVE_STRVERSCMP''@|1|g' \
      -e 's|@''REPLACE_STPNCPY''@|0|g' \
      -e 's|@''REPLACE_MEMCHR''@|0|g' \
      -e 's|@''REPLACE_MEMMEM''@|0|g' \
      -e 's|@''REPLACE_STRCASESTR''@|0|g' \
      -e 's|@''REPLACE_STRCHRNUL''@|0|g' \
      -e 's|@''REPLACE_STRDUP''@|0|g' \
      -e 's|@''REPLACE_STRSTR''@|0|g' \
      -e 's|@''REPLACE_STRERROR''@|0|g' \
      -e 's|@''REPLACE_STRERROR_R''@|0|g' \
      -e 's|@''REPLACE_STRNCAT''@|0|g' \
      -e 's|@''REPLACE_STRNDUP''@|0|g' \
      -e 's|@''REPLACE_STRNLEN''@|0|g' \
      -e 's|@''REPLACE_STRSIGNAL''@|0|g' \
      -e 's|@''REPLACE_STRTOK_R''@|0|g' \
      -e 's|@''UNDEFINE_STRTOK_R''@|0|g' \
      -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
      -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
      -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
      < ./string.in.h; \
} > string.h-t && \
mv string.h-t string.h
/bin/mkdir -p sys
rm -f sys/select.h-t sys/select.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
      -e 's|@''INCLUDE_NEXT''@|include_next|g' \
      -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
      -e 's|@''PRAGMA_COLUMNS''@||g' \
      -e 's|@''NEXT_SYS_SELECT_H''@|<sys/select.h>|g' \
      -e 's|@''HAVE_SYS_SELECT_H''@|1|g' \
      -e 's/@''GNULIB_PSELECT''@/1/g' \
      -e 's/@''GNULIB_SELECT''@/0/g' \
      -e 's|@''HAVE_WINSOCK2_H''@|0|g' \
      -e 's|@''HAVE_PSELECT''@|1|g' \
      -e 's|@''REPLACE_PSELECT''@|0|g' \
      -e 's|@''REPLACE_SELECT''@|0|g' \
      -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
      -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
      < ./sys_select.in.h; \
} > sys/select.h-t && \
mv sys/select.h-t sys/select.h
/bin/mkdir -p sys
rm -f sys/stat.h-t sys/stat.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
      -e 's|@''INCLUDE_NEXT''@|include_next|g' \
      -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
      -e 's|@''PRAGMA_COLUMNS''@||g' \
      -e 's|@''NEXT_SYS_STAT_H''@|<sys/stat.h>|g' \
      -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|0|g' \
      -e 's/@''GNULIB_FCHMODAT''@/0/g' \
      -e 's/@''GNULIB_FSTAT''@/0/g' \
      -e 's/@''GNULIB_FSTATAT''@/1/g' \
      -e 's/@''GNULIB_FUTIMENS''@/0/g' \
      -e 's/@''GNULIB_LCHMOD''@/0/g' \
      -e 's/@''GNULIB_LSTAT''@/1/g' \
      -e 's/@''GNULIB_MKDIRAT''@/0/g' \
      -e 's/@''GNULIB_MKFIFO''@/0/g' \
      -e 's/@''GNULIB_MKFIFOAT''@/0/g' \
      -e 's/@''GNULIB_MKNOD''@/0/g' \
      -e 's/@''GNULIB_MKNODAT''@/0/g' \
      -e 's/@''GNULIB_STAT''@/0/g' \
      -e 's/@''GNULIB_UTIMENSAT''@/0/g' \
      -e 's|@''HAVE_FCHMODAT''@|1|g' \
      -e 's|@''HAVE_FSTATAT''@|1|g' \
      -e 's|@''HAVE_FUTIMENS''@|1|g' \
      -e 's|@''HAVE_LCHMOD''@|1|g' \
      -e 's|@''HAVE_LSTAT''@|1|g' \
      -e 's|@''HAVE_MKDIRAT''@|1|g' \
      -e 's|@''HAVE_MKFIFO''@|1|g' \
      -e 's|@''HAVE_MKFIFOAT''@|1|g' \
      -e 's|@''HAVE_MKNOD''@|1|g' \
      -e 's|@''HAVE_MKNODAT''@|1|g' \
      -e 's|@''HAVE_UTIMENSAT''@|1|g' \
      -e 's|@''REPLACE_FSTAT''@|0|g' \
      -e 's|@''REPLACE_FSTATAT''@|0|g' \
      -e 's|@''REPLACE_FUTIMENS''@|0|g' \
      -e 's|@''REPLACE_LSTAT''@|0|g' \
      -e 's|@''REPLACE_MKDIR''@|0|g' \
      -e 's|@''REPLACE_MKFIFO''@|0|g' \
      -e 's|@''REPLACE_MKNOD''@|0|g' \
      -e 's|@''REPLACE_STAT''@|0|g' \
      -e 's|@''REPLACE_UTIMENSAT''@|0|g' \
      -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
      -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
      -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
      < ./sys_stat.in.h; \
} > sys/stat.h-t && \
mv sys/stat.h-t sys/stat.h
/bin/mkdir -p sys
rm -f time.h-t time.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
      -e 's|@''INCLUDE_NEXT''@|include_next|g' \
      -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
      -e 's|@''PRAGMA_COLUMNS''@||g' \
      -e 's|@''NEXT_TIME_H''@|<time.h>|g' \
      -e 's/@''GNULIB_GETTIMEOFDAY''@/1/g' \
      -e 's/@''GNULIB_MKTIME''@/1/g' \
      -e 's/@''GNULIB_NANOSLEEP''@/0/g' \
      -e 's/@''GNULIB_STRPTIME''@/0/g' \
      -e 's/@''GNULIB_TIMEGM''@/0/g' \
      -e 's/@''GNULIB_TIME_R''@/1/g' \
      -e 's|@''HAVE_DECL_LOCALTIME_R''@|1|g' \
      -e 's|@''HAVE_NANOSLEEP''@|1|g' \
      -e 's|@''HAVE_STRPTIME''@|1|g' \
      -e 's|@''HAVE_TIMEGM''@|1|g' \
      -e 's|@''REPLACE_GMTIME''@|0|g' \
      -e 's|@''REPLACE_LOCALTIME''@|0|g' \
      -e 's|@''REPLACE_LOCALTIME_R''@|0|g' \
      -e 's|@''REPLACE_MKTIME''@|0|g' \
      -e 's|@''REPLACE_NANOSLEEP''@|GNULIB_PORTCHECK|g' \
      -e 's|@''REPLACE_TIMEGM''@|GNULIB_PORTCHECK|g' \
      -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|0|g' \
      -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|0|g' \
      -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|1|g' \
      -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
      -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
      -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
      < ./time.in.h; \
} > time.h-t && \
mv time.h-t time.h
rm -f sys/time.h-t sys/time.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
      -e 's/@''HAVE_SYS_TIME_H''@/1/g' \
      -e 's|@''INCLUDE_NEXT''@|include_next|g' \
      -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
      -e 's|@''PRAGMA_COLUMNS''@||g' \
      -e 's|@''NEXT_SYS_TIME_H''@|<sys/time.h>|g' \
      -e 's/@''GNULIB_GETTIMEOFDAY''@/1/g' \
      -e 's|@''HAVE_WINSOCK2_H''@|0|g' \
      -e 's/@''HAVE_GETTIMEOFDAY''@/1/g' \
      -e 's/@''HAVE_STRUCT_TIMEVAL''@/1/g' \
      -e 's/@''REPLACE_GETTIMEOFDAY''@/0/g' \
      -e 's/@''REPLACE_STRUCT_TIMEVAL''@/0/g' \
      -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
      -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
      -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
      < ./sys_time.in.h; \
} > sys/time.h-t && \
mv sys/time.h-t sys/time.h
rm -f unistd.h-t unistd.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
      -e 's|@''HAVE_UNISTD_H''@|1|g' \
      -e 's|@''INCLUDE_NEXT''@|include_next|g' \
      -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
      -e 's|@''PRAGMA_COLUMNS''@||g' \
      -e 's|@''NEXT_UNISTD_H''@|<unistd.h>|g' \
      -e 's|@''WINDOWS_64_BIT_OFF_T''@|0|g' \
      -e 's/@''GNULIB_CHDIR''@/0/g' \
      -e 's/@''GNULIB_CHOWN''@/0/g' \
      -e 's/@''GNULIB_CLOSE''@/0/g' \
      -e 's/@''GNULIB_DUP''@/0/g' \
      -e 's/@''GNULIB_DUP2''@/1/g' \
      -e 's/@''GNULIB_DUP3''@/0/g' \
      -e 's/@''GNULIB_ENVIRON''@/1/g' \
      -e 's/@''GNULIB_EUIDACCESS''@/0/g' \
      -e 's/@''GNULIB_FACCESSAT''@/1/g' \
      -e 's/@''GNULIB_FCHDIR''@/0/g' \
      -e 's/@''GNULIB_FCHOWNAT''@/0/g' \
      -e 's/@''GNULIB_FDATASYNC''@/1/g' \
      -e 's/@''GNULIB_FSYNC''@/1/g' \
      -e 's/@''GNULIB_FTRUNCATE''@/0/g' \
      -e 's/@''GNULIB_GETCWD''@/0/g' \
      -e 's/@''GNULIB_GETDOMAINNAME''@/0/g' \
      -e 's/@''GNULIB_GETDTABLESIZE''@/1/g' \
      -e 's/@''GNULIB_GETGROUPS''@/0/g' \
      -e 's/@''GNULIB_GETHOSTNAME''@/0/g' \
      -e 's/@''GNULIB_GETLOGIN''@/0/g' \
      -e 's/@''GNULIB_GETLOGIN_R''@/0/g' \
      -e 's/@''GNULIB_GETPAGESIZE''@/0/g' \
      -e 's/@''GNULIB_GETUSERSHELL''@/0/g' \
      -e 's/@''GNULIB_GROUP_MEMBER''@/0/g' \
      -e 's/@''GNULIB_ISATTY''@/0/g' \
      -e 's/@''GNULIB_LCHOWN''@/0/g' \
      -e 's/@''GNULIB_LINK''@/0/g' \
      -e 's/@''GNULIB_LINKAT''@/0/g' \
      -e 's/@''GNULIB_LSEEK''@/0/g' \
      -e 's/@''GNULIB_PIPE''@/0/g' \
      -e 's/@''GNULIB_PIPE2''@/1/g' \
      -e 's/@''GNULIB_PREAD''@/0/g' \
      -e 's/@''GNULIB_PWRITE''@/0/g' \
      -e 's/@''GNULIB_READ''@/0/g' \
      -e 's/@''GNULIB_READLINK''@/1/g' \
      -e 's/@''GNULIB_READLINKAT''@/1/g' \
      -e 's/@''GNULIB_RMDIR''@/0/g' \
      -e 's/@''GNULIB_SETHOSTNAME''@/0/g' \
      -e 's/@''GNULIB_SLEEP''@/0/g' \
      -e 's/@''GNULIB_SYMLINK''@/1/g' \
      -e 's/@''GNULIB_SYMLINKAT''@/0/g' \
      -e 's/@''GNULIB_TTYNAME_R''@/0/g' \
      -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0/g' \
      -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/0/g' \
      -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/0/g' \
      -e 's/@''GNULIB_UNLINK''@/0/g' \
      -e 's/@''GNULIB_UNLINKAT''@/0/g' \
      -e 's/@''GNULIB_USLEEP''@/0/g' \
      -e 's/@''GNULIB_WRITE''@/0/g' \
      < ./unistd.in.h | \
  sed -e 's|@''HAVE_CHOWN''@|1|g' \
      -e 's|@''HAVE_DUP2''@|1|g' \
      -e 's|@''HAVE_DUP3''@|1|g' \
      -e 's|@''HAVE_EUIDACCESS''@|1|g' \
      -e 's|@''HAVE_FACCESSAT''@|1|g' \
      -e 's|@''HAVE_FCHDIR''@|1|g' \
      -e 's|@''HAVE_FCHOWNAT''@|1|g' \
      -e 's|@''HAVE_FDATASYNC''@|1|g' \
      -e 's|@''HAVE_FSYNC''@|1|g' \
      -e 's|@''HAVE_FTRUNCATE''@|1|g' \
      -e 's|@''HAVE_GETDTABLESIZE''@|1|g' \
      -e 's|@''HAVE_GETGROUPS''@|1|g' \
      -e 's|@''HAVE_GETHOSTNAME''@|1|g' \
      -e 's|@''HAVE_GETLOGIN''@|1|g' \
      -e 's|@''HAVE_GETPAGESIZE''@|1|g' \
      -e 's|@''HAVE_GROUP_MEMBER''@|1|g' \
      -e 's|@''HAVE_LCHOWN''@|1|g' \
      -e 's|@''HAVE_LINK''@|1|g' \
      -e 's|@''HAVE_LINKAT''@|1|g' \
      -e 's|@''HAVE_PIPE''@|1|g' \
      -e 's|@''HAVE_PIPE2''@|1|g' \
      -e 's|@''HAVE_PREAD''@|1|g' \
      -e 's|@''HAVE_PWRITE''@|1|g' \
      -e 's|@''HAVE_READLINK''@|1|g' \
      -e 's|@''HAVE_READLINKAT''@|1|g' \
      -e 's|@''HAVE_SETHOSTNAME''@|1|g' \
      -e 's|@''HAVE_SLEEP''@|1|g' \
      -e 's|@''HAVE_SYMLINK''@|1|g' \
      -e 's|@''HAVE_SYMLINKAT''@|1|g' \
      -e 's|@''HAVE_UNLINKAT''@|1|g' \
      -e 's|@''HAVE_USLEEP''@|1|g' \
      -e 's|@''HAVE_DECL_ENVIRON''@|1|g' \
      -e 's|@''HAVE_DECL_FCHDIR''@|1|g' \
      -e 's|@''HAVE_DECL_FDATASYNC''@|1|g' \
      -e 's|@''HAVE_DECL_GETDOMAINNAME''@|1|g' \
      -e 's|@''HAVE_DECL_GETLOGIN_R''@|1|g' \
      -e 's|@''HAVE_DECL_GETPAGESIZE''@|1|g' \
      -e 's|@''HAVE_DECL_GETUSERSHELL''@|1|g' \
      -e 's|@''HAVE_DECL_SETHOSTNAME''@|1|g' \
      -e 's|@''HAVE_DECL_TTYNAME_R''@|1|g' \
      -e 's|@''HAVE_OS_H''@|0|g' \
      -e 's|@''HAVE_SYS_PARAM_H''@|0|g' \
  | \
  sed -e 's|@''REPLACE_CHOWN''@|0|g' \
      -e 's|@''REPLACE_CLOSE''@|0|g' \
      -e 's|@''REPLACE_DUP''@|0|g' \
      -e 's|@''REPLACE_DUP2''@|0|g' \
      -e 's|@''REPLACE_FCHOWNAT''@|0|g' \
      -e 's|@''REPLACE_FTRUNCATE''@|0|g' \
      -e 's|@''REPLACE_GETCWD''@|0|g' \
      -e 's|@''REPLACE_GETDOMAINNAME''@|0|g' \
      -e 's|@''REPLACE_GETDTABLESIZE''@|0|g' \
      -e 's|@''REPLACE_GETLOGIN_R''@|0|g' \
      -e 's|@''REPLACE_GETGROUPS''@|0|g' \
      -e 's|@''REPLACE_GETPAGESIZE''@|0|g' \
      -e 's|@''REPLACE_ISATTY''@|0|g' \
      -e 's|@''REPLACE_LCHOWN''@|0|g' \
      -e 's|@''REPLACE_LINK''@|0|g' \
      -e 's|@''REPLACE_LINKAT''@|0|g' \
      -e 's|@''REPLACE_LSEEK''@|0|g' \
      -e 's|@''REPLACE_PREAD''@|0|g' \
      -e 's|@''REPLACE_PWRITE''@|0|g' \
      -e 's|@''REPLACE_READ''@|0|g' \
      -e 's|@''REPLACE_READLINK''@|0|g' \
      -e 's|@''REPLACE_RMDIR''@|0|g' \
      -e 's|@''REPLACE_SLEEP''@|0|g' \
      -e 's|@''REPLACE_SYMLINK''@|0|g' \
      -e 's|@''REPLACE_TTYNAME_R''@|0|g' \
      -e 's|@''REPLACE_UNLINK''@|0|g' \
      -e 's|@''REPLACE_UNLINKAT''@|0|g' \
      -e 's|@''REPLACE_USLEEP''@|0|g' \
      -e 's|@''REPLACE_WRITE''@|0|g' \
      -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|0|g' \
      -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|0|g' \
      -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
      -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
      -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
} > unistd.h-t && \
mv unistd.h-t unistd.h
make  all-am
make[2]: Entering directory '/var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/lib'
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o allocator.o allocator.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o binary-io.o binary-io.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o c-ctype.o c-ctype.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o c-strcasecmp.o c-strcasecmp.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o c-strncasecmp.o c-strncasecmp.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o careadlinkat.o careadlinkat.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o close-stream.o close-stream.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o count-one-bits.o count-one-bits.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o count-trailing-zeros.o count-trailing-zeros.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o md5.o md5.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o sha1.o sha1.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o sha256.o sha256.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o sha512.o sha512.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o dtoastr.o dtoastr.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o dtotimespec.o dtotimespec.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o filemode.o filemode.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o gettime.o gettime.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o pipe2.o pipe2.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o acl-errno-valid.o acl-errno-valid.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o file-has-acl.o file-has-acl.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o qcopy-acl.o qcopy-acl.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o qset-acl.o qset-acl.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o stat-time.o stat-time.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o strftime.o strftime.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o timespec.o timespec.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o timespec-add.o timespec-add.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o timespec-sub.o timespec-sub.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o u64.o u64.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o unistd.o unistd.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o utimens.o utimens.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o openat-die.o openat-die.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o save-cwd.o save-cwd.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o fcntl.o fcntl.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o pthread_sigmask.o pthread_sigmask.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src       -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c -o sig2str.o sig2str.c
rm -f libgnu.a
x86_64-pc-linux-gnu-ar cru libgnu.a allocator.o binary-io.o c-ctype.o c-strcasecmp.o c-strncasecmp.o careadlinkat.o close-stream.o count-one-bits.o count-trailing-zeros.o md5.o sha1.o sha256.o sha512.o dtoastr.o dtotimespec.o filemode.o  gettime.o pipe2.o acl-errno-valid.o file-has-acl.o qcopy-acl.o qset-acl.o stat-time.o strftime.o  timespec.o timespec-add.o timespec-sub.o u64.o unistd.o utimens.o openat-die.o save-cwd.o fcntl.o pthread_sigmask.o sig2str.o
x86_64-pc-linux-gnu-ranlib libgnu.a
make[2]: Leaving directory '/var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/lib'
make[1]: Leaving directory '/var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/lib'
cd lib-src && make all -j --jobserver-fds=3,4                         \
  CC='x86_64-pc-linux-gnu-gcc -std=gnu99' CFLAGS='-O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2' CPPFLAGS='' \
  LDFLAGS='-m64 -Wl,-O2 -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,--hash-style=gnu ' MAKE='make'
make[1]: Entering directory '/var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/lib-src'
x86_64-pc-linux-gnu-gcc -std=gnu99 -c     -I. -I../src -I../lib -I. -I./../src -I./../lib   -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 ./../src/regex.c
x86_64-pc-linux-gnu-gcc -std=gnu99     -I. -I../src -I../lib -I. -I./../src -I./../lib  -m64 -Wl,-O2 -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,--hash-style=gnu   -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 ./emacsclient.c \
   -DVERSION="\"24.4\""  ../lib/libgnu.a   \
     -o emacsclient
x86_64-pc-linux-gnu-gcc -std=gnu99     -I. -I../src -I../lib -I. -I./../src -I./../lib  -m64 -Wl,-O2 -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,--hash-style=gnu   -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DVERSION="\"24.4\"" \
  ./ebrowse.c ../lib/libgnu.a   -o ebrowse
x86_64-pc-linux-gnu-gcc -std=gnu99     -I. -I../src -I../lib -I. -I./../src -I./../lib  -m64 -Wl,-O2 -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,--hash-style=gnu   -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 ./profile.c \
  ../lib/libgnu.a    -o profile
x86_64-pc-linux-gnu-gcc -std=gnu99 -c     -I. -I../src -I../lib -I. -I./../src -I./../lib   -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  ./pop.c
x86_64-pc-linux-gnu-gcc -std=gnu99     -I. -I../src -I../lib -I. -I./../src -I./../lib  -m64 -Wl,-O2 -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,--hash-style=gnu   -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 ./hexl.c ../lib/libgnu.a  -o hexl
x86_64-pc-linux-gnu-gcc -std=gnu99     -I. -I../src -I../lib -I. -I./../src -I./../lib  -m64 -Wl,-O2 -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,--hash-style=gnu   -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DHAVE_SHARED_GAME_DIR="\"/var/games/emacs\"" \
  ./update-game-score.c ../lib/libgnu.a   \
  -o update-game-score
x86_64-pc-linux-gnu-gcc -std=gnu99     -I. -I../src -I../lib -I. -I./../src -I./../lib  -m64 -Wl,-O2 -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,--hash-style=gnu   -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -o test-distrib ./test-distrib.c
x86_64-pc-linux-gnu-gcc -std=gnu99     -I. -I../src -I../lib -I. -I./../src -I./../lib  -m64 -Wl,-O2 -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,--hash-style=gnu   -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 ./make-docfile.c ../lib/libgnu.a   \
  -o make-docfile
./test-distrib ./testfile
x86_64-pc-linux-gnu-gcc -std=gnu99     -I. -I../src -I../lib -I. -I./../src -I./../lib  -m64 -Wl,-O2 -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,--hash-style=gnu   -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  ./movemail.c pop.o \
  ../lib/libgnu.a   -llockfile         -o movemail
x86_64-pc-linux-gnu-gcc -std=gnu99     -I. -I../src -I../lib -I. -I./../src -I./../lib  -m64 -Wl,-O2 -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,--hash-style=gnu   -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_NAME="\"GNU Emacs\"" \
  -DVERSION="\"24.4\"" ./etags.c \
  regex.o ../lib/libgnu.a   -o etags
x86_64-pc-linux-gnu-gcc -std=gnu99     -I. -I../src -I../lib -I. -I./../src -I./../lib  -m64 -Wl,-O2 -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,--hash-style=gnu   -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DCTAGS -DEMACS_NAME="\"GNU Emacs\"" \
  -DVERSION="\"24.4\"" ./etags.c \
  regex.o ../lib/libgnu.a   -o ctags
make[1]: Leaving directory '/var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/lib-src'
dirstate='.bzr/checkout/dirstate';				\
vcswitness='$(srcdir)/../'$dirstate;				\
[ -r "./$dirstate" ] || vcswitness='';			\
cd src || exit;							\
boot=bootstrap-emacs;					\
[ ! -x "$boot" ] || boot='';					\
make all -j --jobserver-fds=3,4						\
  CC='x86_64-pc-linux-gnu-gcc -std=gnu99' CFLAGS='-O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2' CPPFLAGS=''		\
  LDFLAGS='-m64 -Wl,-O2 -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,--hash-style=gnu ' MAKE='make' BOOTSTRAPEMACS="$boot"	\
  VCSWITNESS="$vcswitness"
make[1]: Entering directory '/var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/src'
cd ../oldXMenu && \
  make -w -j --jobserver-fds=3,4 CC='x86_64-pc-linux-gnu-gcc -std=gnu99' CFLAGS='-O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2' MAKE='make' \
    libXMenu11.a
../lib-src/make-docfile -d . -g dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o xsmfns.o xsettings.o   emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexelf.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o  profiler.o decompress.o     xfont.o ftfont.o xftfont.o ftxfont.o  fontset.o fringe.o image.o   > gl.tmp
for i in  vm-limit.o dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o xsmfns.o xsettings.o   emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexelf.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o  profiler.o decompress.o     xfont.o ftfont.o xftfont.o ftxfont.o  fontset.o fringe.o image.o   terminfo.o lastfile.o     ; do \
  echo "$i" | sed 's,.*/,,; s/\.obj$/\.o/; s/^/"/; s/$/",/' \
    || exit; \
done >buildobj.h.tmp
make[2]: Entering directory '/var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/oldXMenu'
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib Activate.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib AddPane.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib AddSel.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib ChgPane.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib ChgSel.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib Create.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib DelPane.c
./../build-aux/move-if-change gl.tmp globals.h
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib DelSel.c
echo timestamp > gl-stamp
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/vm-limit.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  vm-limit.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib Destroy.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib Error.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/dispnew.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  dispnew.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib EvHand.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib FindPane.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib FindSel.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib InsPane.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/frame.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  frame.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/scroll.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  scroll.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib InsSel.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib Internal.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib Locate.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/xdisp.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  xdisp.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib Post.c
mv buildobj.h.tmp buildobj.h
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/menu.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  menu.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib Recomp.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib SetAEQ.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib SetFrz.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/xmenu.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  xmenu.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib SetPane.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib SetSel.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/window.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  window.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib XDelAssoc.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib XLookAssoc.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib XCrAssoc.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib XDestAssoc.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib XMakeAssoc.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/charset.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  charset.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c   -I/usr/include/freetype2      -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DEMACS_BITMAP_FILES -I../src -I../lib -I. -I./../src -I./../lib insque.c
rm -f libXMenu11.a
x86_64-pc-linux-gnu-ar cru libXMenu11.a Activate.o AddPane.o AddSel.o ChgPane.o ChgSel.o Create.o DelPane.o DelSel.o Destroy.o Error.o EvHand.o FindPane.o FindSel.o InsPane.o InsSel.o Internal.o Locate.o Post.o Recomp.o SetAEQ.o SetFrz.o SetPane.o SetSel.o XDelAssoc.o XLookAssoc.o XCrAssoc.o XDestAssoc.o XMakeAssoc.o insque.o
x86_64-pc-linux-gnu-ranlib libXMenu11.a
make[2]: Leaving directory '/var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/oldXMenu'
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/coding.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  coding.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/category.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  category.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/ccl.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  ccl.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/character.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  character.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/chartab.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  chartab.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/bidi.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  bidi.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/cm.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  cm.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/term.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  term.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/terminal.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  terminal.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/xfaces.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  xfaces.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/xterm.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  xterm.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/xfns.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  xfns.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/xselect.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  xselect.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/xrdb.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  xrdb.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/xsmfns.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  xsmfns.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/xsettings.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  xsettings.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/emacs.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  emacs.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/keyboard.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  keyboard.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/macros.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  macros.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/keymap.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  keymap.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/sysdep.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  sysdep.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/buffer.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  buffer.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/filelock.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  filelock.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/insdel.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  insdel.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/marker.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  marker.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/minibuf.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  minibuf.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/fileio.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  fileio.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/cmds.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  cmds.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/dired.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  dired.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/casetab.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  casetab.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/casefiddle.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  casefiddle.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/indent.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  indent.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/search.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  search.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/regex.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  regex.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/undo.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  undo.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/alloc.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  alloc.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/data.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  data.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/doc.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  doc.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/editfns.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  editfns.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/callint.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  callint.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/eval.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  eval.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/floatfns.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  floatfns.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/fns.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  fns.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/font.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  font.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/print.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  print.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/lread.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  lread.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/syntax.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  syntax.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/unexelf.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  unexelf.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/bytecode.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  bytecode.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/process.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  process.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/gnutls.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  gnutls.c
^[[01m^[[Kgnutls.c:^[[m^[[K In function ‘^[[01m^[[Kemacs_gnutls_global_init^[[m^[[K’:
^[[01m^[[Kgnutls.c:707:7:^[[m^[[K ^[[01;35m^[[Kwarning: ^[[m^[[K‘^[[01m^[[Kgnutls_global_set_mem_functions^[[m^[[K’ is deprecated (declared at ^[[01m^[[K/usr/include/gnutls/compat.h:398^[[m^[[K) [-Wdeprecated-declarations]
       fn_gnutls_global_set_mem_functions (xmalloc, xmalloc, NULL,
^[[01;32m^[[K       ^^[[m^[[K
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/callproc.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  callproc.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/region-cache.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  region-cache.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/sound.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  sound.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/atimer.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  atimer.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/doprnt.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  doprnt.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/intervals.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  intervals.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/textprop.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  textprop.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/composite.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  composite.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/xml.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  xml.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/profiler.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  profiler.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/decompress.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  decompress.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/xfont.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  xfont.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/ftfont.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  ftfont.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/xftfont.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  xftfont.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/ftxfont.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  ftxfont.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/fringe.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  fringe.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/fontset.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  fontset.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/image.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  image.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/terminfo.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  terminfo.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -c  -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/lastfile.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  lastfile.c
x86_64-pc-linux-gnu-gcc -std=gnu99 -Demacs  -I. -I. -I../lib -I./../lib   -I/usr/include/freetype2           -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/.d -MP     -O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -Wl,-znocombreloc  -m64 -Wl,-O2 -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,--hash-style=gnu  \
  -o temacs  vm-limit.o dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o xsmfns.o xsettings.o   emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexelf.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o  profiler.o decompress.o     xfont.o ftfont.o xftfont.o ftxfont.o  fontset.o fringe.o image.o   terminfo.o lastfile.o      ../lib/libgnu.a     ../oldXMenu/libXMenu11.a  -lXpm  -lSM -lICE -lX11 -lXrender -lXft     -lacl    -lrt    -lXrandr  -lXinerama      -lncurses    -lfreetype  -lfontconfig -lfreetype    -lgnutls  -lpthread   -lm -lz
/bin/mkdir -p ../etc
:
test "no" = "yes" || \
  test "X/sbin/paxctl" = X || /sbin/paxctl -r temacs
test "no" = "yes" || test -z "setfattr" || \
  setfattr -n user.pax.flags -v r temacs
cd ../lisp; make -w -j --jobserver-fds=3,4 update-subdirs
make[2]: Entering directory '/var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/lisp'
for file in `find . -type d -print`; do case $file in .*/cedet* | .*/leim* ) ;; *) wins="$wins${wins:+ }$file" ;; esac; done; \
for file in $wins; do \
   ./../build-aux/update-subdirs $file; \
done;
make[2]: Leaving directory '/var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/lisp'
if test "no" = "yes"; then \
  rm -f bootstrap-emacs; \
  ln temacs bootstrap-emacs; \
else \
  ./temacs --batch --load loadup bootstrap || exit 1; \
  test "X/sbin/paxctl" = X || /sbin/paxctl -zex emacs; \
  mv -f emacs bootstrap-emacs; \
fi
Loading loadup.el (source)...
Using load-path (/var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/lisp /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/lisp/emacs-lisp /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/lisp/language /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/lisp/international /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/lisp/textmodes /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/lisp/vc)
Loading emacs-lisp/byte-run...
Loading emacs-lisp/backquote...
Loading subr...
Loading version...
Loading widget...
Loading custom...
Loading emacs-lisp/map-ynp...
Loading international/mule...
Loading international/mule-conf...
Loading env...
Loading format...
Loading bindings...
Loading cus-start...
Loading window...
Loading files...
Loading emacs-lisp/macroexp...
Loading cus-face...
Loading faces...
Loading button...
Loading startup...
Loading /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/lisp/loaddefs.el (source)...
Loading emacs-lisp/nadvice...
Loading minibuffer...
Loading abbrev...
Loading simple...
Loading help...
Loading jka-cmpr-hook...
Loading epa-hook...
Loading international/mule-cmds...
Loading case-table...
Loading /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/lisp/international/charprop.el (source)...
Loading international/characters...
Loading composite...
Loading language/chinese...
Loading language/cyrillic...
Loading language/indian...
Loading language/sinhala...
Loading language/english...
Loading language/ethiopic...
Loading language/european...
Loading language/czech...
Loading language/slovak...
Loading language/romanian...
Loading language/greek...
Loading language/hebrew...
Loading language/japanese...
Loading /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/lisp/international/cp51932.el (source)...
Loading /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/lisp/international/eucjp-ms.el (source)...
Loading language/korean...
Loading language/lao...
Loading language/tai-viet...
Loading language/thai...
Loading language/tibetan...
Loading language/vietnamese...
Loading language/misc-lang...
Loading language/utf-8-lang...
Loading language/georgian...
Loading language/khmer...
Loading language/burmese...
Loading language/cham...
Loading indent...
Loading frame...
Loading term/tty-colors...
Loading font-core...
Loading facemenu...
Loading emacs-lisp/syntax...
Loading font-lock...
Loading jit-lock...
Loading mouse...
Loading scroll-bar...
Loading select...
Loading emacs-lisp/timer...
Loading isearch...
Loading rfn-eshadow...
Loading menu-bar...
Loading emacs-lisp/lisp...
Loading textmodes/page...
Loading register...
Loading textmodes/paragraphs...
Loading progmodes/prog-mode...
Loading emacs-lisp/lisp-mode...
Loading textmodes/text-mode...
Loading textmodes/fill...
Loading newcomment...
Loading replace...
Loading emacs-lisp/tabulated-list...
Loading buff-menu...
Loading fringe...
Loading emacs-lisp/regexp-opt...
Loading image...
Loading international/fontset...
Loading dnd...
Loading tool-bar...
Loading dynamic-setting...
Loading x-dnd...
Loading term/common-win...
Loading term/x-win...
Loading mwheel...
Loading emacs-lisp/float-sup...
Loading vc/vc-hooks...
Loading vc/ediff-hook...
Loading uniquify...
Loading electric...
Loading tooltip...
Loading /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/lisp/leim/leim-list.el (source)...
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under the name emacs
/bin/sh: line 7: 11504 Segmentation fault      ./temacs --batch --load loadup bootstrap
Makefile:815: recipe for target 'bootstrap-emacs' failed
make[1]: *** [bootstrap-emacs] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/src'
Makefile:382: recipe for target 'src' failed
make: *** [src] Error 2
 ^[[31;01m*^[[0m ERROR: app-editors/emacs-24.4::gentoo failed (compile phase):
 ^[[31;01m*^[[0m   emake failed
 ^[[31;01m*^[[0m 
 ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=app-editors/emacs-24.4::gentoo'`,
 ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=app-editors/emacs-24.4::gentoo'`.
 ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/app-editors/emacs-24.4/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/app-editors/emacs-24.4/temp/environment'.
 ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4'
 ^[[31;01m*^[[0m S: '/var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4'

^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#18784: Coultdn't compile emacs-24.4
  2014-10-21 11:52 bug#18784: Coultdn't compile emacs-24.4 Gangræna Gorgeous
@ 2014-10-21 15:16 ` Eli Zaretskii
  2014-10-21 15:49   ` David Engster
  2015-03-13 19:54 ` Glenn Morris
  1 sibling, 1 reply; 19+ messages in thread
From: Eli Zaretskii @ 2014-10-21 15:16 UTC (permalink / raw)
  To: Gangræna Gorgeous; +Cc: 18784

> Date: Tue, 21 Oct 2014 15:52:40 +0400
> From: Gangræna Gorgeous <trupanka@gmail.com>
> 
> I've got segfault trying to compile emacs-24.4.
> 
> dmesg:
> [ 1807.828767] grsec: denied resource overstep by requesting 4294967295 for
> RLIMIT_NOFILE against limit 1048576 for
> /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/conftest[conftest:8947]
> uid/euid:0/0 gid/egid:0/0, parent
> /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/configure
> [configure:8944] uid/euid:0/0 gid/egid:0/0
> [ 1807.828805] grsec: denied resource overstep by requesting 1048576 for
> RLIMIT_NOFILE against limit 1048576 for
> /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/conftest[conftest:8947]
> uid/euid:0/0 gid/egid:0/0, parent
> /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/configure
> [configure:8944] uid/euid:0/0 gid/egid:0/0
> [ 1817.329338] grsec: denied resource overstep by requesting 1048576 for
> RLIMIT_NOFILE against limit 1048576 for
> /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/conftest[conftest:9974]
> uid/euid:0/0 gid/egid:0/0, parent
> /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/configure
> [configure:9973] uid/euid:0/0 gid/egid:0/0
> [ 1850.050464] temacs[11504]: segfault at 47e1c0 ip 000003fff51346d0 sp
> 000003ffffff8478 error 4 in libc-2.19.so[3fff509b000+1af000]

Sounds like some locale problem with the system resources you are
allowed to use.





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#18784: Coultdn't compile emacs-24.4
  2014-10-21 15:16 ` Eli Zaretskii
@ 2014-10-21 15:49   ` David Engster
  0 siblings, 0 replies; 19+ messages in thread
From: David Engster @ 2014-10-21 15:49 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Gangræna Gorgeous, 18784

Eli Zaretskii writes:
>> Date: Tue, 21 Oct 2014 15:52:40 +0400
>> From: Gangræna Gorgeous <trupanka@gmail.com>
>> 
>
>> I've got segfault trying to compile emacs-24.4.
>> 
>> dmesg:
>> [ 1807.828767] grsec: denied resource overstep by requesting 4294967295 for
>> RLIMIT_NOFILE against limit 1048576 for
>> /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/conftest[conftest:8947]
>> uid/euid:0/0 gid/egid:0/0, parent
>> /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/configure
>> [configure:8944] uid/euid:0/0 gid/egid:0/0
>> [ 1807.828805] grsec: denied resource overstep by requesting 1048576 for
>> RLIMIT_NOFILE against limit 1048576 for
>> /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/conftest[conftest:8947]
>> uid/euid:0/0 gid/egid:0/0, parent
>> /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/configure
>> [configure:8944] uid/euid:0/0 gid/egid:0/0
>> [ 1817.329338] grsec: denied resource overstep by requesting 1048576 for
>> RLIMIT_NOFILE against limit 1048576 for
>> /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/conftest[conftest:9974]
>> uid/euid:0/0 gid/egid:0/0, parent
>> /var/tmp/portage/app-editors/emacs-24.4/work/emacs-24.4/configure
>> [configure:9973] uid/euid:0/0 gid/egid:0/0
>> [ 1850.050464] temacs[11504]: segfault at 47e1c0 ip 000003fff51346d0 sp
>> 000003ffffff8478 error 4 in libc-2.19.so[3fff509b000+1af000]
>
> Sounds like some locale problem with the system resources you are
> allowed to use.

From the looks of it the OP seems to use Gentoo with PaX patches, so
this could be related to #11398.

-David





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#18784: Coultdn't compile emacs-24.4
  2014-10-21 11:52 bug#18784: Coultdn't compile emacs-24.4 Gangræna Gorgeous
  2014-10-21 15:16 ` Eli Zaretskii
@ 2015-03-13 19:54 ` Glenn Morris
  2015-03-13 20:43   ` Ulrich Mueller
  1 sibling, 1 reply; 19+ messages in thread
From: Glenn Morris @ 2015-03-13 19:54 UTC (permalink / raw)
  To: Gangræna Gorgeous; +Cc: Ulrich Mueller, 18784


Sorry for the lack of response.
You might have more luck reporting this to Gentoo.

Perhaps still more is needed beyond what was installed for
http://debbugs.gnu.org/11398 and http://debbugs.gnu.org/16343,
but I have no idea what.





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#18784: Coultdn't compile emacs-24.4
  2015-03-13 19:54 ` Glenn Morris
@ 2015-03-13 20:43   ` Ulrich Mueller
  2015-03-13 21:09     ` Ulrich Mueller
  0 siblings, 1 reply; 19+ messages in thread
From: Ulrich Mueller @ 2015-03-13 20:43 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Gangræna Gorgeous, 18784

>>>>> On Fri, 13 Mar 2015, Glenn Morris wrote:

> Sorry for the lack of response. You might have more luck reporting
> this to Gentoo.

> Perhaps still more is needed beyond what was installed for
> http://debbugs.gnu.org/11398 and http://debbugs.gnu.org/16343, but I
> have no idea what.

This doesn't look like a Linux PaX kernel issue to me, but rather like
overly aggressive CFLAGS and LDFLAGS (see build.log):
 * strip-flags: CFLAGS: changed '-O2 -pipe -m64 -march=amdfam10 -m3dnow -mmmx -msse -msse2 -msse3 -msse4a -mcx16 -msahf -mfpmath=sse -mabm -m128bit-long-double -fPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2' to '-O2 -pipe -m64 -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2'
 * strip-flags: LDFLAGS: changed '-pie -m64 -Wl,-O2 -Wl,--as-needed -s -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,--hash-style=gnu' to '-m64 -Wl,-O2 -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,--hash-style=gnu'

But yes, if this is still an issue, please report it to the Gentoo bug
tracker: http://bugs.gentoo.org/





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#18784: Coultdn't compile emacs-24.4
  2015-03-13 20:43   ` Ulrich Mueller
@ 2015-03-13 21:09     ` Ulrich Mueller
  2015-03-13 23:25       ` Stefan Monnier
  0 siblings, 1 reply; 19+ messages in thread
From: Ulrich Mueller @ 2015-03-13 21:09 UTC (permalink / raw)
  To: 18784

Thinking about it, this bug is most likely a duplicate of
http://debbugs.gnu.org/18780.

Gentoo explicitly adds -nopie to flags as a workaround since
app-editors/emacs-24.4-r1 (whereas the reporter has 24.4-r0 where the
problem is still present).





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#18784: Coultdn't compile emacs-24.4
  2015-03-13 21:09     ` Ulrich Mueller
@ 2015-03-13 23:25       ` Stefan Monnier
  2015-03-16  9:16         ` Ulrich Mueller
  0 siblings, 1 reply; 19+ messages in thread
From: Stefan Monnier @ 2015-03-13 23:25 UTC (permalink / raw)
  To: Ulrich Mueller; +Cc: 18784

forcemerge 18780 18784

> Thinking about it, this bug is most likely a duplicate of
> http://debbugs.gnu.org/18780.

> Gentoo explicitly adds -nopie to flags as a workaround since
> app-editors/emacs-24.4-r1 (whereas the reporter has 24.4-r0 where the
> problem is still present).

Indeed, looks right.  And 18780's diagnostic looks right as well.
Could someone look at fixing our configure script accordingly?


        Stefan





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#18784: Coultdn't compile emacs-24.4
  2015-03-13 23:25       ` Stefan Monnier
@ 2015-03-16  9:16         ` Ulrich Mueller
  2015-03-16 13:09           ` Stefan Monnier
  0 siblings, 1 reply; 19+ messages in thread
From: Ulrich Mueller @ 2015-03-16  9:16 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 18784

>>>>> On Fri, 13 Mar 2015, Stefan Monnier wrote:

> Indeed, looks right. And 18780's diagnostic looks right as well.
> Could someone look at fixing our configure script accordingly?

Find my attempt of a patch below. Please review.


From 30678f8b5cba82b4ca9841fd1c8760b48cf12b59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@gentoo.org>
Date: Mon, 16 Mar 2015 10:02:51 +0100
Subject: [PATCH] configure.ac: Add -nopie to LD_SWITCH_SYSTEM_TEMACS.

* configure.ac (LD_SWITCH_SYSTEM_TEMACS): Add -nopie option,
in order to avoid segfaults in temacs.  (Bug#18780)
---
 ChangeLog    | 5 +++++
 configure.ac | 7 +++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4f6523e..fd99ff9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-16  Ulrich Müller  <ulm@gentoo.org>
+
+	* configure.ac (LD_SWITCH_SYSTEM_TEMACS): Add -nopie option,
+	in order to avoid segfaults in temacs.  (Bug#18780)
+
 2015-03-02  Robert Pluim  <rpluim@gmail.com>  (tiny change)
 
 	* configure.ac: Error out if with-file-notification=w32 is
diff --git a/configure.ac b/configure.ac
index d65494a..0c0c5b6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4989,11 +4989,14 @@ case "$opsys" in
    esac
    ;;
 
-  openbsd) LD_SWITCH_SYSTEM_TEMACS='-nopie' ;;
-
   *) LD_SWITCH_SYSTEM_TEMACS= ;;
 esac
 
+if test "$GCC" = yes; then
+  # Disable PIE to avoid segfaults in temacs (bug#18780)
+  LD_SWITCH_SYSTEM_TEMACS="$LD_SWITCH_SYSTEM_TEMACS -nopie"
+fi
+
 if test x$ac_enable_profiling != x ; then
   case $opsys in
     *freebsd | gnu-linux) ;;
-- 
2.3.2






^ permalink raw reply related	[flat|nested] 19+ messages in thread

* bug#18784: Coultdn't compile emacs-24.4
  2015-03-16  9:16         ` Ulrich Mueller
@ 2015-03-16 13:09           ` Stefan Monnier
  2015-03-16 16:18             ` Eli Zaretskii
  2015-03-16 16:26             ` Ulrich Mueller
  0 siblings, 2 replies; 19+ messages in thread
From: Stefan Monnier @ 2015-03-16 13:09 UTC (permalink / raw)
  To: Ulrich Mueller; +Cc: 18784

> +if test "$GCC" = yes; then
> +  # Disable PIE to avoid segfaults in temacs (bug#18780)
> +  LD_SWITCH_SYSTEM_TEMACS="$LD_SWITCH_SYSTEM_TEMACS -nopie"
> +fi

Hmm... is `-nopie' a linker-option or a compiler-option?
IOW what about systems which use gcc to compile but something else to
link or vice-versa?


        Stefan





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#18784: Coultdn't compile emacs-24.4
  2015-03-16 13:09           ` Stefan Monnier
@ 2015-03-16 16:18             ` Eli Zaretskii
  2015-03-16 18:19               ` Stefan Monnier
  2015-03-16 16:26             ` Ulrich Mueller
  1 sibling, 1 reply; 19+ messages in thread
From: Eli Zaretskii @ 2015-03-16 16:18 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: ulm, 18784

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Mon, 16 Mar 2015 09:09:52 -0400
> Cc: 18784@debbugs.gnu.org
> 
> > +if test "$GCC" = yes; then
> > +  # Disable PIE to avoid segfaults in temacs (bug#18780)
> > +  LD_SWITCH_SYSTEM_TEMACS="$LD_SWITCH_SYSTEM_TEMACS -nopie"
> > +fi
> 
> Hmm... is `-nopie' a linker-option or a compiler-option?

It's a GCC option, but at least my GCC doesn't recognize -nopie.  It
does recognize -fno-pie.

Anyway, please don't make that effective for every supported system;
e.g., I think it's wrong to do that for Windows, which always produces
PIE code.





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#18784: Coultdn't compile emacs-24.4
  2015-03-16 13:09           ` Stefan Monnier
  2015-03-16 16:18             ` Eli Zaretskii
@ 2015-03-16 16:26             ` Ulrich Mueller
  1 sibling, 0 replies; 19+ messages in thread
From: Ulrich Mueller @ 2015-03-16 16:26 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 18784

>>>>> On Mon, 16 Mar 2015, Stefan Monnier wrote:

> Hmm... is `-nopie' a linker-option or a compiler-option?
> IOW what about systems which use gcc to compile but something else
> to link or vice-versa?

Right. Also it seems that not all configurations of gcc will recognise
the -nopie option, so we must laboriously test for it. Updated patch
below.


From b3d5b10c10d7062b0da5c8316e787ae554f5c81a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@gentoo.org>
Date: Mon, 16 Mar 2015 17:09:54 +0100
Subject: [PATCH] configure.ac: Add -nopie to LD_SWITCH_SYSTEM_TEMACS.

* configure.ac (LD_SWITCH_SYSTEM_TEMACS): Add -nopie option if it
is supported, in order to avoid segfaults in temacs.  (Bug#18780)
---
 ChangeLog    |  5 +++++
 configure.ac | 15 +++++++++++++--
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4f6523e..308b889 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-16  Ulrich Müller  <ulm@gentoo.org>
+
+	* configure.ac (LD_SWITCH_SYSTEM_TEMACS): Add -nopie option if it
+	is supported, in order to avoid segfaults in temacs.  (Bug#18780)
+
 2015-03-02  Robert Pluim  <rpluim@gmail.com>  (tiny change)
 
 	* configure.ac: Error out if with-file-notification=w32 is
diff --git a/configure.ac b/configure.ac
index d65494a..40ea5cb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4989,11 +4989,22 @@ case "$opsys" in
    esac
    ;;
 
-  openbsd) LD_SWITCH_SYSTEM_TEMACS='-nopie' ;;
-
   *) LD_SWITCH_SYSTEM_TEMACS= ;;
 esac
 
+AC_CACHE_CHECK([whether the linker accepts -nopie],
+  [emacs_cv_prog_cc_nopie],
+  [emacs_save_LDFLAGS=$LDFLAGS
+  LDFLAGS="$LDFLAGS -nopie"
+  AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],
+    [emacs_cv_prog_cc_nopie=yes],
+    [emacs_cv_prog_cc_nopie=no])
+  LDFLAGS=$emacs_save_LDFLAGS])
+if test "$emacs_cv_prog_cc_nopie" = yes; then
+  # Disable PIE to avoid segfaults in temacs (bug#18780)
+  LD_SWITCH_SYSTEM_TEMACS="$LD_SWITCH_SYSTEM_TEMACS -nopie"
+fi
+
 if test x$ac_enable_profiling != x ; then
   case $opsys in
     *freebsd | gnu-linux) ;;
-- 
2.3.2






^ permalink raw reply related	[flat|nested] 19+ messages in thread

* bug#18784: Coultdn't compile emacs-24.4
  2015-03-16 16:18             ` Eli Zaretskii
@ 2015-03-16 18:19               ` Stefan Monnier
  2015-03-16 18:29                 ` Eli Zaretskii
  0 siblings, 1 reply; 19+ messages in thread
From: Stefan Monnier @ 2015-03-16 18:19 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: ulm, 18784

> Anyway, please don't make that effective for every supported system;
> e.g., I think it's wrong to do that for Windows, which always produces
> PIE code.

Hmm... so maybe the core of the problem is not PIE and -nopie just ends
up preventing something else (e.g. some kind of address space
randomization of the code).


        Stefan





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#18784: Coultdn't compile emacs-24.4
  2015-03-16 18:19               ` Stefan Monnier
@ 2015-03-16 18:29                 ` Eli Zaretskii
  2015-03-16 19:06                   ` Stefan Monnier
  0 siblings, 1 reply; 19+ messages in thread
From: Eli Zaretskii @ 2015-03-16 18:29 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: ulm, 18784

> From: Stefan Monnier <monnier@IRO.UMontreal.CA>
> Cc: ulm@gentoo.org, 18784@debbugs.gnu.org
> Date: Mon, 16 Mar 2015 14:19:43 -0400
> 
> > Anyway, please don't make that effective for every supported system;
> > e.g., I think it's wrong to do that for Windows, which always produces
> > PIE code.
> 
> Hmm... so maybe the core of the problem is not PIE and -nopie just ends
> up preventing something else (e.g. some kind of address space
> randomization of the code).

I think we don't really understand why this bug happens.  At least I
have no clear idea of how PIE can cause temacs segfault.





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#18784: Coultdn't compile emacs-24.4
  2015-03-16 18:29                 ` Eli Zaretskii
@ 2015-03-16 19:06                   ` Stefan Monnier
  2015-03-16 19:34                     ` Eli Zaretskii
  0 siblings, 1 reply; 19+ messages in thread
From: Stefan Monnier @ 2015-03-16 19:06 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: ulm, 18784

> I think we don't really understand why this bug happens.  At least I
> have no clear idea of how PIE can cause temacs segfault.

I guess if PIE is used in order to place Emacs's code at randomized
addresses (different address every time an Emacs process is launched),
it can break the dump because our subr objects will end up with pointers
to addresses that aren't valid any more (might be other such problems,
but that's the first that comes to my mind).


        Stefan





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#18784: Coultdn't compile emacs-24.4
  2015-03-16 19:06                   ` Stefan Monnier
@ 2015-03-16 19:34                     ` Eli Zaretskii
  2015-03-16 20:04                       ` Ulrich Mueller
  0 siblings, 1 reply; 19+ messages in thread
From: Eli Zaretskii @ 2015-03-16 19:34 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: ulm, 18784

> From: Stefan Monnier <monnier@IRO.UMontreal.CA>
> Cc: ulm@gentoo.org, 18784@debbugs.gnu.org
> Date: Mon, 16 Mar 2015 15:06:22 -0400
> 
> > I think we don't really understand why this bug happens.  At least I
> > have no clear idea of how PIE can cause temacs segfault.
> 
> I guess if PIE is used in order to place Emacs's code at randomized
> addresses (different address every time an Emacs process is launched),
> it can break the dump because our subr objects will end up with pointers
> to addresses that aren't valid any more (might be other such problems,
> but that's the first that comes to my mind).

Then this is only an issue on systems where PIE == address
randomization, isn't it?





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#18784: Coultdn't compile emacs-24.4
  2015-03-16 19:34                     ` Eli Zaretskii
@ 2015-03-16 20:04                       ` Ulrich Mueller
  2015-03-16 20:29                         ` Stefan Monnier
  0 siblings, 1 reply; 19+ messages in thread
From: Ulrich Mueller @ 2015-03-16 20:04 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 18784

>>>>> On Mon, 16 Mar 2015, Eli Zaretskii wrote:

>> I guess if PIE is used in order to place Emacs's code at randomized
>> addresses (different address every time an Emacs process is launched),
>> it can break the dump because our subr objects will end up with pointers
>> to addresses that aren't valid any more (might be other such problems,
>> but that's the first that comes to my mind).

> Then this is only an issue on systems where PIE == address
> randomization, isn't it?

That would be my guess too. Here are some gdb backtraces showing that
the problem occurs in unexelf.c:

   https://bugs.gentoo.org/494316#c13
   https://bugs.gentoo.org/526948#c9
   http://debbugs.gnu.org/13847#5

There is a long history of Emacs catching up with kernel hardening
in this area. It started with setting ADDR_NO_RANDOMIZE via Linux
personality(2), then setting the NORANDEXEC flag with paxctl(1) or
setfattr(1). Now it seems that we need -nopie in addition.
My impression is that these are all workarounds that don't address the
real issue.





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#18784: Coultdn't compile emacs-24.4
  2015-03-16 20:04                       ` Ulrich Mueller
@ 2015-03-16 20:29                         ` Stefan Monnier
  2015-03-29 12:19                           ` Ulrich Mueller
  0 siblings, 1 reply; 19+ messages in thread
From: Stefan Monnier @ 2015-03-16 20:29 UTC (permalink / raw)
  To: Ulrich Mueller; +Cc: 18784

> There is a long history of Emacs catching up with kernel hardening
> in this area. It started with setting ADDR_NO_RANDOMIZE via Linux
> personality(2), then setting the NORANDEXEC flag with paxctl(1) or
> setfattr(1). Now it seems that we need -nopie in addition.

But what does "-nopie" mean?  IIUC it means "do not generate PIE code",
so it is a "double-level workaround": not only it doesn't directly fix the
problem we have with randomization but it doesn't directly disable
randomization either.

If OTOH "-nopie" means "indicate that the code should not be relocated
even if it looks like it's position independent", then it's only
a "single-level workaround", like the ADDR_NO_RANDOMIZE and friends.

> My impression is that these are all workarounds that don't address the
> real issue.

AFAIK the only way to address directly the underlying issue is to use
a portable dumper.  Until then we'll have to consider address
randomization as plain bugs that we need to fix with things like
ADDR_NO_RANDOMIZE.


        Stefan "who doesn't really believe in such hardening"





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#18784: Coultdn't compile emacs-24.4
  2015-03-16 20:29                         ` Stefan Monnier
@ 2015-03-29 12:19                           ` Ulrich Mueller
  2015-04-03 11:45                             ` Ulrich Mueller
  0 siblings, 1 reply; 19+ messages in thread
From: Ulrich Mueller @ 2015-03-29 12:19 UTC (permalink / raw)
  To: 18784

So, how to proceed here? Looks like duplicate bugs are piling up.
Shall I push the patch that I've posted earlier:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18784#43

Alternatively, the check for the linker accepting -nopie could be
moved to the gnu*) pattern of the case statement above. (The openbsd
case would be left alone then.)





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#18784: Coultdn't compile emacs-24.4
  2015-03-29 12:19                           ` Ulrich Mueller
@ 2015-04-03 11:45                             ` Ulrich Mueller
  0 siblings, 0 replies; 19+ messages in thread
From: Ulrich Mueller @ 2015-04-03 11:45 UTC (permalink / raw)
  To: 18784

tags 18784 fixed
close 18784 25.1
thanks

> Shall I push the patch that I've posted earlier:
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18784#43

Pushed to master.





^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2015-04-03 11:45 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-21 11:52 bug#18784: Coultdn't compile emacs-24.4 Gangræna Gorgeous
2014-10-21 15:16 ` Eli Zaretskii
2014-10-21 15:49   ` David Engster
2015-03-13 19:54 ` Glenn Morris
2015-03-13 20:43   ` Ulrich Mueller
2015-03-13 21:09     ` Ulrich Mueller
2015-03-13 23:25       ` Stefan Monnier
2015-03-16  9:16         ` Ulrich Mueller
2015-03-16 13:09           ` Stefan Monnier
2015-03-16 16:18             ` Eli Zaretskii
2015-03-16 18:19               ` Stefan Monnier
2015-03-16 18:29                 ` Eli Zaretskii
2015-03-16 19:06                   ` Stefan Monnier
2015-03-16 19:34                     ` Eli Zaretskii
2015-03-16 20:04                       ` Ulrich Mueller
2015-03-16 20:29                         ` Stefan Monnier
2015-03-29 12:19                           ` Ulrich Mueller
2015-04-03 11:45                             ` Ulrich Mueller
2015-03-16 16:26             ` Ulrich Mueller

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).