Opened 7 years ago

Closed 7 years ago

#4117 closed task (fixed)

binutils-2.29

Reported by: bdubbs@… Owned by: lfs-book@…
Priority: normal Milestone: 8.1
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

New minor version.

Change History (7)

comment:1 by bdubbs@…, 7 years ago

Changes in 2.29:

  • The MIPS port now supports microMIPS eXtended Physical Addressing (XPA) instructions for assembly and disassembly.
  • The MIPS port now supports the microMIPS Release 5 ISA for assembly and disassembly.
  • The MIPS port now supports the Imagination interAptiv MR2 processor, which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
  • The SPARC port now supports the SPARC M8 processor, which implements the Oracle SPARC Architecture 2017.
  • The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
  • Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
  • Add support for the wasm32 ELF conversion of the WebAssembly file format.
  • Add --inlines option to objdump, which extends the --line-numbers option so that inlined functions will display their nesting information.
  • Add --merge-notes options to objcopy to reduce the size of notes in a binary file by merging and deleting redundant notes.
  • Add support for locating separate debug info files using the build-id method, where the separate file has a name based upon the build-id of the original file.

comment:2 by Thierry Nuttens, 7 years ago

When using development branch in 32 bits.

Looks like they is an issue with binutils 2.29: I did try twice and came to the same result: when compiling glibc in chapter 5:

.. i686-lfs-linux-gnu-gcc regexp.c -c -std=gnu11 -fgnu89-inline -O2 -Wall -Werror -Wundef -Wwrite-strings -fmerge-all-constants -fno-stack-protector -frounding-math -m32 -pipe -Wstrict-prototypes -Wold-style-definition -fPIC -Wa,-mtune=i686 -ftls-model=initial-exec -I../include -I/tmp/work/src/glibc-2.25+adc7e06/build/misc -I/tmp/work/src/glibc-2.25+adc7e06/build -I../sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/i386/i686/nptl -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/i386/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu/multiarch -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686/multiarch -I../sysdeps/i386/i686 -I../sysdeps/i386/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/i386 -I../sysdeps/x86 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/7.1.0/include -isystem /mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/7.1.0/include-fixed -isystem /tools/include -D_LIBC_REENTRANT -include /tmp/work/src/glibc-2.25+adc7e06/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DPIC -DSHARED -o /tmp/work/src/glibc-2.25+adc7e06/build/misc/regexp.os -MD -MP -MF /tmp/work/src/glibc-2.25+adc7e06/build/misc/regexp.os.dt -MT /tmp/work/src/glibc-2.25+adc7e06/build/misc/regexp.os {standard input}: Assembler messages: {standard input}: Error: `loc1@GLIBC_2.0' can't be versioned to common symbol 'loc1' {standard input}: Error: `loc2@GLIBC_2.0' can't be versioned to common symbol 'loc2' {standard input}: Error: `locs@GLIBC_2.0' can't be versioned to common symbol 'locs' make[2]: * /tmp/work/src/glibc-2.25+adc7e06/build/misc/regexp.os Error 1 make[2]: * Waiting for unfinished jobs.... make[2]: Leaving directory '/tmp/work/src/glibc-2.25+adc7e06/misc' make[1]: * [Makefile:215: misc/subdir_lib] Error 2 make[1]: Leaving directory '/tmp/work/src/glibc-2.25+adc7e06' make: * [Makefile:9: all] Error 2

comment:4 by Thierry Nuttens, 7 years ago

comment:5 by bdubbs@…, 7 years ago

I did a reply to -book instead of the ticket:

Try this: sed -i.orig -e 's/\(char \*loc.\)/\1 attribute ((nocommon))/' misc/regexp.c

Note that the fix is not in binutils, but in glibc. I suppose we could just generate a new version of glibc with the fix. I hope glibc will release anew version soon.


And at https://www.gnu.org/software/libc/libc.html

"The current development version of glibc 2.26, releasing on or around August 1, 2017."

So we probably should just hold off any updates and wait for that.

comment:6 by Thierry Nuttens, 7 years ago

Great news about glibc 2.26 as they was a few others patchs.

Looking forward for glibc 2.26 for my next stable version of NuTyX. In means time the patch I found did the job.

comment:7 by bdubbs@…, 7 years ago

Resolution: fixed
Status: newclosed

Fixed at revision 11279.

Note: See TracTickets for help on using tickets.