From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 30 11:31:43 2015 Received: (at submit) by debbugs.gnu.org; 30 Nov 2015 16:31:43 +0000 Received: from localhost ([127.0.0.1]:33061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3RMc-0003Mq-4g for submit@debbugs.gnu.org; Mon, 30 Nov 2015 11:31:43 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36468) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3QiE-0002IG-G4 for submit@debbugs.gnu.org; Mon, 30 Nov 2015 10:49:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3QiC-0003EG-DU for submit@debbugs.gnu.org; Mon, 30 Nov 2015 10:49:58 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3QiC-0003EC-AW for submit@debbugs.gnu.org; Mon, 30 Nov 2015 10:49:56 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3QiA-00021A-HX for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2015 10:49:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3Qi6-000385-B6 for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2015 10:49:54 -0500 Received: from [162.244.177.51] (port=59995 helo=amy.mattli.us) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3Qi5-00034Z-UV for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2015 10:49:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mattli.us; s=postfix; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; bh=JV2BGQnlNtMBtBTbBZ8pnkYCYgy9ybSccebroE3Lti8=; b=Zvwtbrtvte3dUW78QoSzQctWb6OALU+UZzeWmrw0iotvRhHN1zJY1uS5cN4AiSt281WleH40uwrPY9qTYbBBS5rxVs0M0kB62beNL7pSKLl/EbP75h/iUDE2BT4w/zvLZueO8/i5c3FHL7AFuFGjBL8m3el+AETgDX4U3Qej9zw=; Received: from openwrt.mattli.us ([192.168.0.1] helo=sparky) by amy.mattli.us with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1a3Q9U-0006bI-27 for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2015 09:14:04 -0600 From: David Matthew Mattli To: bug-gnu-emacs@gnu.org Subject: 24.5; Build failure on sparc64, Bus Error in src/unexelf.c Date: Mon, 30 Nov 2015 09:13:59 -0600 Message-ID: <87egf734g8.fsf@mattli.us> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 30 Nov 2015 11:31:39 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On sparc64 gnu/linux, when emacs is configured with '--with-x-toolkit=lucid' the build fails with a Bus Error in the source file 'src/unexelf.c'. This would occur because the sparc architecture requires pointers to be naturally aligned, so 8-byte access to by 8-byte aligned, 4-byte access to be 4-byte aligned, etc. Attempting to access memory at an improperly aligned address results in a SIGBUS. This was discovered while investigating a broken build in Debian. The Debian build log showing the error is here: https://buildd.debian.org/status/fetch.php?pkg=emacs24&arch=sparc64&ver=24.5%2B1-5&stamp=1448688813 I've also reproduced the problem with the latest master branch of the git tree from this morning. By running the failing command in gdb I found that the SIGBUS is occuring in the file 'src/unexelf.c'. The crash occurs when it's walking through the section headers, around line 411: /* Walk through all section headers, copying data and updating. */ for (n = 1; n < old_file_h->e_shnum; n++) { caddr_t src; ElfW (Shdr) *old_shdr = &OLD_SECTION_H (n); ElfW (Shdr) *new_shdr = &NEW_SECTION_H (n); if (new_shdr->sh_type == SHT_NOBITS // <====== && new_shdr->sh_addr >= old_bss_addr && (new_shdr->sh_addr + new_shdr->sh_size <= old_bss_addr + old_bss_size)) { For the Debian build failure I was able to determine where the misalignment was introduced but it seems this file has changed a lot. You can see the Debian bug details here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806667 Looking at frame #0 in the backtrace below I can see that 'old_bss_offset', 'new_data2_size', and 'new_data2_offset' are unaligned, those may be the problem if they are added to a pointer that is later used in a memory access that requires alignment. Let me know if I can do anything to help fix this issue. I can give emacs developers access to a sparc64 dev box, etc. $ git log -n 1 commit c77b816bc3d8fc242b95c04859803ffff5bb8210 Author: Stefan Monnier Date: Mon Nov 30 08:02:55 2015 -0500 * lisp/calculator.el (calculator-define-key): Silence warning ...about unknown calculator-mode-map. Here's the backtrace from gdb for the git tree build: #0 unexec (new_name=0x1818d60 "/home/dmm/src/emacs/src/emacs", old_name=0x1818d88 "/home/dmm/src/emacs/src/temacs") at unexelf.c:411 src = new_file = 7 old_file = 6 new_file_size = 36500211 old_base = 0xffff800111c06000 "\177ELF\002\002\001" new_base = 0xffff800112ca8000 "\177ELF\002\002\001" old_file_h = 0xffff800111c06000 new_file_h = 0xffff800112ca8000 old_program_h = new_program_h = old_section_h = 0xffff800112ca5c20 new_section_h = 0xffff800114f76933 old_section_names = 0xffff800112ca5ab5 "" new_section_names = old_bss_seg = new_bss_seg = 0xffff800112ca80e8 old_bss_addr = 7402221 new_bss_addr = 26468352 old_bss_size = new_data2_size = 19066131 old_bss_offset = 5305069 new_data2_offset = 5305069 n = 1 old_bss_index = 25 stat_buf = {st_dev = 2066, __pad1 = 0, st_ino = 14040, st_mode = 33261, st_nlink = 1, st_uid = 1000, st_gid = 1000, st_rdev = 0, __pad2 = 0, st_size = 17434080, st_blksize = 4096, st_blocks = 34048, st_atim = {tv_sec = 1448893442, tv_nsec = 941694653}, st_mtim = {tv_sec = 1448893442, tv_nsec = 481675054}, st_ctim = {tv_sec = 1448893442, tv_nsec = 491675480}, __glibc_reserved4 = 0, __glibc_reserved5 = 0} old_file_size = 17434080 #1 0x00000000001e66c4 in Fdump_emacs (filename=25845268, symfile=) at emacs.c:2139 tem = 0 #2 0x000000000025bb4c in eval_sub (form=) at eval.c:2126 numargs = args_left = 0 i = maxargs = 2 argvals = {25857348, 25857316, 24384, 129, 7932928, 7932928, 7932928, 0} fun = 4338869 val = original_args = 14874147 count = #3 0x000000000025be10 in Fprogn (body=) at eval.c:427 val = 0 #4 0x000000000025ba5c in eval_sub (form=) at eval.c:2085 numargs = args_left = 14502707 i = maxargs = argvals = {8791798045857, 2472532, 0, 0, 1434632, 17026259, 8747139, 8622419} fun = 7379453 val = original_args = 14502707 count = #5 0x000000000025ba5c in eval_sub (form=form@entry=12156979) at eval.c:2085 numargs = args_left = 13550515 i = maxargs = argvals = {25259892, 44256, 0, 0, 0, 2, 38928, 24384} fun = 7379549 val = original_args = 13550515 count = #6 0x000000000027f754 in readevalloop (readcharfun=readcharfun@entry=24384, stream=stream@entry=0x825960, sourcename=sourcename@entry=8539236, printflag=printflag@entry=false, unibyte=unibyte@entry=0, readfun=readfun@entry=0, start=0, end=) at lread.c:1908 c = val = b = 0x0 continue_reading_p = true lex_bound = whole_buffer = false first_sexp = macroexpand = 0 #7 0x000000000027fc40 in Fload (file=8538980, noerror=, nomessage=0, nosuffix=, must_suffix=) at lread.c:1316 stream = 0x825960 fd = fd_index = 4 found = 8539172 efound = hist_file_name = 8539236 newer = false compiled = false handler = safe_p = true fmode = 0x2f4128 "r" version = 0 #8 0x000000000025baec in eval_sub (form=) at eval.c:2137 numargs = args_left = 0 i = maxargs = 5 argvals = {8538980, 0, 0, 0, 0, 8540208, 8791798047201, -140733123707272} fun = 7386853 val = original_args = 8476163 count = #9 0x000000000025ef3c in Feval (form=, lexical=0) at eval.c:1953 No locals. #10 0x000000000025aca4 in internal_condition_case (bfun=bfun@entry=0x1eaf14 , handlers=handlers@entry=18912, hfun=hfun@entry=0x1ef784 ) at eval.c:1309 val = c = #11 0x00000000001ed3a4 in top_level_1 (ignore=ignore@entry=0) at keyboard.c:1103 ignore = 0 #12 0x000000000025aba8 in internal_catch (tag=tag@entry=45648, func=func@entry=0x1ed33c , arg=arg@entry=0) at eval.c:1073 val = c = #13 0x00000000001eaea4 in command_loop () at keyboard.c:1064 No locals. #14 0x00000000001ef34c in recursive_edit_1 () at keyboard.c:671 val = #15 0x00000000001ef6f4 in Frecursive_edit () at keyboard.c:742 buffer = #16 0x0000000000112d38 in main (argc=, argv=0x7fefffff348) at emacs.c:1652 dummy = 1058888 stack_bottom_variable = 1 '\001' do_initial_setlocale = dumping = skip_args = 3 rlim = {rlim_cur = 8720000, rlim_max = 18446744073709551615} no_loadup = junk = 0x0 dname_arg = 0x0 ch_to_dir = 0x0 original_pwd = In GNU Emacs 24.5.1 (sparc64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2015-11-29 on sparky, modified by Debian System Description: Debian GNU/Linux unstable (sid) Configured using: `configure --build sparc64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --build sparc64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --with-x=yes --with-x-toolkit=lucid --with-toolkit-scroll-bars --without-gconf --without-gsettings 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-z,relro' Important settings: value of $LANG: en_SG.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent messages: Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)... Loading debian-ispell... Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done Loading debian-ispell...done Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done Loading /etc/emacs/site-start.d/50gtk-doc-tools.el (source)...done Loading term/xterm...done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... [2 times] Load-path shadows: /usr/share/emacs/24.5/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils help-mode easymenu xterm time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting font-render-setting x-toolkit x multi-tty emacs) Memory information: ((conses 16 75135 5336) (symbols 48 17800 0) (miscs 40 73 113) (strings 32 9429 3746) (string-bytes 1 258369) (vectors 16 7222) (vector-slots 8 342728 32825) (floats 8 66 291) (intervals 56 208 22) (buffers 960 14) (heap 1024 8358 811)) From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 30 11:36:37 2015 Received: (at control) by debbugs.gnu.org; 30 Nov 2015 16:36:38 +0000 Received: from localhost ([127.0.0.1]:33068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3RRN-0003Uw-MY for submit@debbugs.gnu.org; Mon, 30 Nov 2015 11:36:37 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58147) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3RRL-0003Un-Mt for control@debbugs.gnu.org; Mon, 30 Nov 2015 11:36:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3RRK-0004SU-JO for control@debbugs.gnu.org; Mon, 30 Nov 2015 11:36:35 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51211) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3RRK-0004SO-HP for control@debbugs.gnu.org; Mon, 30 Nov 2015 11:36:34 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1a3RRK-0001cI-B9 for control@debbugs.gnu.org; Mon, 30 Nov 2015 11:36:34 -0500 Subject: control message for bug 19759 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Mon, 30 Nov 2015 11:36:34 -0500 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) block 19759 by 22061 From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 30 12:46:50 2015 Received: (at 22061) by debbugs.gnu.org; 30 Nov 2015 17:46:50 +0000 Received: from localhost ([127.0.0.1]:33125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3SXJ-0006yZ-M4 for submit@debbugs.gnu.org; Mon, 30 Nov 2015 12:46:49 -0500 Received: from [162.244.177.51] (port=48780 helo=amy.mattli.us) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3SXH-0006yQ-P7 for 22061@debbugs.gnu.org; Mon, 30 Nov 2015 12:46:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mattli.us; s=postfix; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:To:From; bh=2VphogmOy6BoYPjw+KHuE2mVbVO1z94BNgQSLcAHZ2U=; b=aUs07CV4kCETfmVQJsO9fycpElHZRTZVQ4LSA3Q6rgsED1qpZOLHxUTk9H1DDVS3sI/iOn1Hzm0bIe3R2R5EJZJcchl8ubwBUQLO53GjRol2P62wPT+n6/gHI5MGTCF4TPEjwHikourKjqS32PpmOm573fE7RtNlq3GUXp/lY08=; Received: from openwrt.mattli.us ([192.168.0.1] helo=amy.mattli.us) by amy.mattli.us with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1a3SXG-0002IC-W8 for 22061@debbugs.gnu.org; Mon, 30 Nov 2015 11:46:47 -0600 From: David Matthew Mattli To: 22061@debbugs.gnu.org Subject: Re: bug#22061: Acknowledgement (24.5; Build failure on sparc64, Bus Error in src/unexelf.c) References: <87egf734g8.fsf@mattli.us> Date: Mon, 30 Nov 2015 11:46:44 -0600 In-Reply-To: (GNU bug Tracking System's message of "Mon, 30 Nov 2015 16:32:03 +0000") Message-ID: <87k2ozjs6z.fsf@amy.mattli.us> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Looking at it some more I think I have a better understanding of what's going on in the git master sources. The SIGBUS occurs when accessing the pointer calculated with the NEW_SECTION_H macro: static void * entry_address (void *section_h, ptrdiff_t idx, ptrdiff_t entsize) { char *h = section_h; return h + idx * entsize; } [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: 22061 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Looking at it some more I think I have a better understanding of what's going on in the git master sources. The SIGBUS occurs when accessing the pointer calculated with the NEW_SECTION_H macro: static void * entry_address (void *section_h, ptrdiff_t idx, ptrdiff_t entsize) { char *h = section_h; return h + idx * entsize; } [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid Looking at it some more I think I have a better understanding of what's going on in the git master sources. The SIGBUS occurs when accessing the pointer calculated with the NEW_SECTION_H macro: static void * entry_address (void *section_h, ptrdiff_t idx, ptrdiff_t entsize) { char *h = section_h; return h + idx * entsize; } #define NEW_SECTION_H(n) \ (*(ElfW (Shdr) *) entry_address (new_section_h, n, new_file_h->e_shentsize)) This should generate aligned addresses, assuming 'new_section_h' is aligned because it's adding multiples of 'new_file_h->e_shentsize' which is 64. However new_section_h is /not/ aligned so the output of the macro is also unaligned. (gdb) print new_section_h $27 = (Elf64_Shdr *) 0xffff800114f76933 (gdb) print (unsigned long)new_section_h % 8 $28 = 3 The variable 'new_section_h' is assigned on line 380: new_section_h = (ElfW (Shdr) *) ((byte *) new_base + new_file_h->e_shoff); So its the sum of new_base and 'new_file_h->e_shoff'. new_base is highly aligned so the problem must be 'new_file_h->e_shoff' (gdb) print new_base $29 = (caddr_t) 0xffff800112ca8000 "\177ELF\002\002\001" (gdb) print new_file_h->e_shoff $30 = 36497715 In turn, 'new_file_h->e_shoff' s misalignment comes from when new_data2_size is added to it on line 377. if (new_file_h->e_shoff >= old_bss_offset) new_file_h->e_shoff += new_data2_size; Finally the value of new_data2_size is calculated on line 334: new_data2_size = new_bss_addr - old_bss_addr; (gdb) print (unsigned long)(new_data2_size) % 8 $39 = 3 Because 'new_data2_size' is eventually added to 'new_section_h' it needs to be aligned or 'new_section_h' has to be padded to a multiple of 8. I think the easiest thing to do would be to round 'new_data2_size' to the nearest multiple of 8. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 30 13:48:17 2015 Received: (at 22061) by debbugs.gnu.org; 30 Nov 2015 18:48:17 +0000 Received: from localhost ([127.0.0.1]:33185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3TUn-0001kT-Ft for submit@debbugs.gnu.org; Mon, 30 Nov 2015 13:48:17 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:52045) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3TUT-0001jh-A1 for 22061@debbugs.gnu.org; Mon, 30 Nov 2015 13:48:16 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3p8bCw1xd2z3hj9R; Mon, 30 Nov 2015 19:47:56 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3p8bCw07pvzvdWR; Mon, 30 Nov 2015 19:47:55 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 7yiVjxx4-d0g; Mon, 30 Nov 2015 19:47:54 +0100 (CET) X-Auth-Info: uKctp4CVhOdqcePmQDYltYsrV6v9lWu/eU/QpxyOPhcW/WeGnagP7ukG7ieKK0/1 Received: from igel.home (ppp-88-217-27-100.dynamic.mnet-online.de [88.217.27.100]) by mail.mnet-online.de (Postfix) with ESMTPA; Mon, 30 Nov 2015 19:47:54 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id 6C6422C3E23; Mon, 30 Nov 2015 19:47:54 +0100 (CET) From: Andreas Schwab To: David Matthew Mattli Subject: Re: bug#22061: Acknowledgement (24.5; Build failure on sparc64, Bus Error in src/unexelf.c) References: <87egf734g8.fsf@mattli.us> <87k2ozjs6z.fsf@amy.mattli.us> X-Yow: Does that mean I'm not a well-adjusted person?? Date: Mon, 30 Nov 2015 19:47:54 +0100 In-Reply-To: <87k2ozjs6z.fsf@amy.mattli.us> (David Matthew Mattli's message of "Mon, 30 Nov 2015 11:46:44 -0600") Message-ID: <87h9k3l3xh.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22061 Cc: 22061@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) That should be fixed in 25.1, in commit c9fd597. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 30 14:47:20 2015 Received: (at 22061) by debbugs.gnu.org; 30 Nov 2015 19:47:20 +0000 Received: from localhost ([127.0.0.1]:33234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3UPw-00038b-FM for submit@debbugs.gnu.org; Mon, 30 Nov 2015 14:47:20 -0500 Received: from [162.244.177.51] (port=54544 helo=amy.mattli.us) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3UPu-00038T-VV for 22061@debbugs.gnu.org; Mon, 30 Nov 2015 14:47:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mattli.us; s=postfix; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=28sc2hzILOjiM8nTAwS4RArNDy3UEqn8vUbf9c+XJxk=; b=GcjSYwcs6jqE8KgqVCYGssp9cIRocMtXaY0/FuP83Z8W7dz93HtHjvsfXBHa+DhgUVOkADZX++o9daceNy5Ifu5fv2xjk+3ND8ehBJyHYcSpQGUHrzgCLg6Me9TsMRcoSlbajEYMEw/gsILD1hMr2NpOC7VvnvfQLn9qeMgDvWc=; Received: from openwrt.mattli.us ([192.168.0.1] helo=amy.mattli.us) by amy.mattli.us with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1a3UPs-0007ys-Ve; Mon, 30 Nov 2015 13:47:17 -0600 From: David Matthew Mattli To: Andreas Schwab Subject: Re: bug#22061: Acknowledgement (24.5; Build failure on sparc64, Bus Error in src/unexelf.c) References: <87egf734g8.fsf@mattli.us> <87k2ozjs6z.fsf@amy.mattli.us> <87h9k3l3xh.fsf@igel.home> Date: Mon, 30 Nov 2015 13:47:14 -0600 In-Reply-To: <87h9k3l3xh.fsf@igel.home> (Andreas Schwab's message of "Mon, 30 Nov 2015 19:47:54 +0100") Message-ID: <87wpszi81p.fsf@amy.mattli.us> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Andreas Schwab writes: > That should be fixed in 25.1, in commit c9fd597. > > Andreas. Thanks for your reply. That commit does fix the problem. I wish I had looked in the emacs-25 branch first because it builds without any problems. I just assumed master was the latest sources. [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: 22061 Cc: 22061@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Andreas Schwab writes: > That should be fixed in 25.1, in commit c9fd597. > > Andreas. Thanks for your reply. That commit does fix the problem. I wish I had looked in the emacs-25 branch first because it builds without any problems. I just assumed master was the latest sources. [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid Andreas Schwab writes: > That should be fixed in 25.1, in commit c9fd597. > > Andreas. Thanks for your reply. That commit does fix the problem. I wish I had looked in the emacs-25 branch first because it builds without any problems. I just assumed master was the latest sources. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 30 16:07:11 2015 Received: (at control) by debbugs.gnu.org; 30 Nov 2015 21:07:11 +0000 Received: from localhost ([127.0.0.1]:33312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3VfC-00052V-RS for submit@debbugs.gnu.org; Mon, 30 Nov 2015 16:07:11 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54664) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3Vet-00051n-Ag for control@debbugs.gnu.org; Mon, 30 Nov 2015 16:07:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3Ver-0002ma-At for control@debbugs.gnu.org; Mon, 30 Nov 2015 16:06:51 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3Ver-0002mW-5n for control@debbugs.gnu.org; Mon, 30 Nov 2015 16:06:49 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1a3Vel-0003et-P3 for control@debbugs.gnu.org; Mon, 30 Nov 2015 16:06:48 -0500 Subject: control message for bug 22061 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Mon, 30 Nov 2015 16:06:43 -0500 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) close 22061 25.1 From unknown Sun Jun 22 22:42:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 29 Dec 2015 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator