On 09/26/2015 09:58 AM, Eli Zaretskii wrote: >> Cc: 20614@debbugs.gnu.org >> From: Petr Hracek >> Date: Thu, 24 Sep 2015 19:56:32 +0200 >> >> On 09/24/2015 05:32 PM, Eli Zaretskii wrote: >>>> From: Petr Hracek >>>> Date: Thu, 24 Sep 2015 13:04:30 +0200 >>>> >>>> emacs: Program segment above .bss in >>> I'm confused: earlier you said that you've commented out this error, >>> and you still couldn't build Emacs with the latest Binutils. What is >>> the problem in that case? >> Good point. >> I didn't use a workaround in the latest mail. I use the clear emacs >> tarball and added some >> debug information so that we are able to detect and hopefully correct >> the problem. >> I would like to solve the problem. Not to use workaround :) >> >> The message emacs: Program segment above .bss causes fails >> and emacs is not buildable still. > Can you show the same series of messages emitted when Emacs is built > with an older version of Binutils? My deep observation with emacs package and binutils: 1) binutils-2.23.52.0.1-30.el7_1.2.ppc64le.rpm works completely. 2) binutils-2.23.52.0.1-40.el7.ppc64le.rpm works if row http://git.savannah.gnu.org/cgit/emacs.git/tree/src/unexelf.c?h=emacs-24#n869 is suppressed. With newer version of binutils I can see the same series:( like: Dumping under the name emacs emacs: Program segment above .bss in /builddir/build/BUILD/emacs-24.3/src/temacs make[2]: Leaving directory `/builddir/build/BUILD/emacs-24.3/src' make[2]: *** [bootstrap-emacs] Error 1 I have collected list of commits and messages against upstream: #1200138 https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=43a8475ca01b676fb764aaed0c4ed1cc16fc3c87 #1200138 https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=eec2f3ed9f053653ed5d629eb50e08e3ee61e9bd #1203449 https://bugzilla.redhat.com/attachment.cgi?id=1003499 # 1175624 .opd https://sourceware.org/ml/binutils/2015-01/msg00227.html # 1175624 .got which implies .sdata, .sbss, .plt .iplt and .branch_lt also have to move: https://sourceware.org/ml/binutils/2015-01/msg00228.html # 1175624 And .toc1: https://sourceware.org/ml/binutils/2015-01/msg00232.html #1194164 func@localentry expressions, which was added to FSF binutils with git commit 45965137 #1183838 https://bugzilla.redhat.com/attachment.cgi?id=986213 # 1172766 https://bugzilla.redhat.com/attachment.cgi?id=989450 I hope it helps you a bit. -- Petr Hracek Software Engineer Developer Experience Red Hat, Inc Mob: +420777056169 email: phracek@redhat.com