* [ANNOUNCEMENT] Updated: binutils-2.34-2 (x86/x86_64)(Test) @ 2020-04-12 4:09 JonY via Cygwin-announce 2020-04-12 8:46 ` Marco Atzeri 0 siblings, 1 reply; 6+ messages in thread From: JonY via Cygwin-announce @ 2020-04-12 4:09 UTC (permalink / raw) To: cygwin [-- Attachment #1.1: Type: text/plain, Size: 926 bytes --] The following packages have been uploaded to the Cygwin distribution: * binutils-2.34 Changes since -1: Addition of 2 patches from binutils git: https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=40bfb9762747f8336b17c70a0173d10200fa62eb https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=82f439d028c65663a0baf0a17ef5c4a2ea5c84a7 *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain.com <at> cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ANNOUNCEMENT] Updated: binutils-2.34-2 (x86/x86_64)(Test) 2020-04-12 4:09 [ANNOUNCEMENT] Updated: binutils-2.34-2 (x86/x86_64)(Test) JonY via Cygwin-announce @ 2020-04-12 8:46 ` Marco Atzeri 2020-04-12 9:59 ` JonY 0 siblings, 1 reply; 6+ messages in thread From: Marco Atzeri @ 2020-04-12 8:46 UTC (permalink / raw) To: cygwin Am 12.04.2020 um 06:09 schrieb JonY via Cygwin-announce: > The following packages have been uploaded to the Cygwin distribution: > > * binutils-2.34 > no plan to reduce the targets ? nm: supported targets: pe-x86-64 elf32-bigaarch64 elf32-littleaarch64 elf64-bigaarch64 elf64-bigaarch64-cloudabi elf64-littleaarch64 elf64-littleaarch64-cloudabi mach-o-arm64 ecoff-littlealpha elf64-alpha elf64-alpha-freebsd vms-alpha vms-libtxt elf32-am33lin elf32-bigarc elf32-littlearc elf32-bigarm elf32-littlearm elf32-bigarm-fdpic elf32-littlearm-fdpic elf32-bigarm-symbian elf32-littlearm-symbian elf32-bigarm-vxworks elf32-littlearm-vxworks mach-o-arm pe-arm-big pe-arm-little pe-arm-wince-big pe-arm-wince-little pei-arm-big pei-arm-little pei-arm-wince-big pei-arm-wince-little elf32-avr elf32-bfin elf32-bfinfdpic elf32-cr16 a.out-cris elf32-cris elf32-us-cris elf32-crx elf32-csky-big elf32-csky-little elf32-d10v elf32-d30v elf32-dlx elf32-big elf32-little elf64-big elf64-little elf32-epiphany elf32-fr30 elf32-frv elf32-frvfdpic elf32-h8300 elf32-h8300-linux elf32-hppa elf32-hppa-linux elf32-hppa-netbsd elf64-hppa elf64-hppa-linux som a.out-i386 a.out-i386-bsd a.out-i386-lynx coff-i386 coff-go32 coff-go32-exe coff-i386-lynx elf32-i386 elf32-i386-freebsd elf32-i386-nacl elf32-i386-sol2 elf32-i386-vxworks mach-o-i386 msdos pe-i386 pei-i386 elf32-iamcu elf64-bpfbe elf64-bpfle elf32-ia64-hpux-big elf64-ia64-big elf64-ia64-little elf64-ia64-hpux-big elf64-ia64-vms pei-ia64 elf32-ip2k elf32-iq2000 elf64-k1om elf64-k1om-freebsd elf64-l1om elf64-l1om-freebsd elf32-lm32 elf32-m32c elf32-m32r elf32-m32rle elf32-m32r-linux elf32-m32rle-linux elf32-m68hc11 elf32-m68hc12 elf32-m68k elf32-s12z mach-o-be mach-o-le mach-o-fat elf32-mcore-big elf32-mcore-little pe-mcore-big pe-mcore-little pei-mcore-big pei-mcore-little elf32-mep elf32-metag elf32-microblaze ecoff-bigmips ecoff-littlemips ecoff-biglittlemips elf32-bigmips elf32-littlemips elf32-nbigmips elf32-nlittlemips elf32-ntradbigmips elf32-ntradlittlemips elf32-ntradbigmips-freebsd elf32-ntradlittlemips-freebsd elf32-tradbigmips elf32-tradlittlemips elf32-tradbigmips-freebsd elf32-tradlittlemips-freebsd elf32-bigmips-vxworks elf32-littlemips-vxworks elf64-bigmips elf64-littlemips elf64-tradbigmips elf64-tradlittlemips elf64-tradbigmips-freebsd elf64-tradlittlemips-freebsd elf64-mmix mmo elf32-mn10200 elf32-mn10300 elf32-bigmoxie elf32-littlemoxie elf32-msp430 elf32-msp430 elf32-mt elf32-nds32be elf32-nds32le elf32-nds32be-linux elf32-nds32le-linux elf64-nfp elf32-bignios2 elf32-littlenios2 a.out-pc532-mach a.out-ns32k-netbsd elf32-or1k a.out-pdp11 pef pef-xlib elf32-pj elf32-pjl ppcboot elf32-powerpc elf32-powerpcle elf32-powerpc-freebsd elf32-powerpc-vxworks elf64-powerpc elf64-powerpcle elf64-powerpc-freebsd pe-powerpc pe-powerpcle pei-powerpc pei-powerpcle elf32-pru elf32-littleriscv elf64-littleriscv elf32-rl78 aixcoff64-rs6000 aix5coff64-rs6000 aixcoff-rs6000 elf32-rx-be elf32-rx-be-ns elf32-rx-le elf32-s390 elf64-s390 elf32-bigscore elf32-littlescore coff-sh coff-shl coff-sh-small coff-shl-small elf32-sh elf32-shl elf32-shbig-fdpic elf32-sh-fdpic elf32-sh-linux elf32-shbig-linux elf32-sh-nbsd elf32-shl-nbsd elf32-sh-vxworks elf32-shl-vxworks pe-shl pei-shl elf32-sparc elf32-sparc-sol2 elf32-sparc-vxworks elf64-sparc elf64-sparc-freebsd elf64-sparc-sol2 elf32-spu sym a.out-tic30 coff-tic30 coff0-beh-c54x coff0-c54x coff1-beh-c54x coff1-c54x coff2-beh-c54x coff2-c54x elf32-tic6x-be elf32-tic6x-le elf32-tilegx-be elf32-tilegx-le elf64-tilegx-be elf64-tilegx-le elf32-tilepro elf32-ft32 elf32-v850-rh850 elf32-v850 a.out-vax1k-netbsd a.out-vax-netbsd elf32-vax elf32-visium wasm elf32-wasm32 coff-x86-64 elf32-x86-64 elf32-x86-64-nacl elf64-x86-64 elf64-x86-64-cloudabi elf64-x86-64-freebsd elf64-x86-64-nacl elf64-x86-64-sol2 mach-o-x86-64 pe-bigobj-x86-64 pei-x86-64 elf32-xc16x elf32-xgate elf32-xstormy16 elf32-xtensa-be elf32-xtensa-le coff-z80 elf32-z80 coff-z8k srec symbolsrec verilog tekhex binary ihex plugin ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ANNOUNCEMENT] Updated: binutils-2.34-2 (x86/x86_64)(Test) 2020-04-12 8:46 ` Marco Atzeri @ 2020-04-12 9:59 ` JonY 2020-04-12 13:32 ` Marco Atzeri 0 siblings, 1 reply; 6+ messages in thread From: JonY @ 2020-04-12 9:59 UTC (permalink / raw) To: cygwin [-- Attachment #1.1: Type: text/plain, Size: 341 bytes --] On 4/12/20 8:46 AM, Marco Atzeri via Cygwin wrote: > Am 12.04.2020 um 06:09 schrieb JonY via Cygwin-announce: >> The following packages have been uploaded to the Cygwin distribution: >> >> * binutils-2.34 >> > > no plan to reduce the targets ? > For the moment, no. I may try to make libbfd install as a DLL in the future. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ANNOUNCEMENT] Updated: binutils-2.34-2 (x86/x86_64)(Test) 2020-04-12 9:59 ` JonY @ 2020-04-12 13:32 ` Marco Atzeri 0 siblings, 0 replies; 6+ messages in thread From: Marco Atzeri @ 2020-04-12 13:32 UTC (permalink / raw) To: cygwin [-- Attachment #1: Type: text/plain, Size: 530 bytes --] Am 12.04.2020 um 11:59 schrieb JonY via Cygwin: > On 4/12/20 8:46 AM, Marco Atzeri via Cygwin wrote: >> Am 12.04.2020 um 06:09 schrieb JonY via Cygwin-announce: >>> The following packages have been uploaded to the Cygwin distribution: >>> >>> * binutils-2.34 >>> >> >> no plan to reduce the targets ? >> > > For the moment, no. I may try to make libbfd install as a DLL in the future. > > I build it, but most of the tests failed and I did not investigate further. attached patch derived from Yaakov's one. Regards Marco [-- Attachment #2: 2.34+1-shared-libs.patch --] [-- Type: text/plain, Size: 2598 bytes --] --- origsrc/binutils-gdb/bfd/configure.ac 2020-03-15 02:15:41.000000000 +0100 +++ bfd/configure.ac 2020-03-23 07:38:04.299450100 +0100 @@ -302,8 +302,8 @@ changequote([,])dnl case "${host}" in # More hacks to build DLLs on Windows. *-*-cygwin*) - SHARED_LDFLAGS="-no-undefined" - SHARED_LIBADD="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32" + SHARED_LDFLAGS="-no-undefined -Wl,--exclude-libs=libiberty.a" + SHARED_LIBADD="-Wl,`pwd`/../libiberty/libiberty.a -L`pwd`/../intl -lintl -lcygwin -lkernel32" ;; # Use built-in libintl on macOS, since it is not provided by libc. --- origsrc/binutils-gdb/opcodes/configure.ac 2020-03-15 02:19:03.000000000 +0100 +++ opcodes/configure.ac 2020-03-23 07:40:34.539335700 +0100 @@ -175,8 +175,8 @@ changequote([,])dnl case "${host}" in *-*-cygwin*) - SHARED_LDFLAGS="-no-undefined" - SHARED_LIBADD="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin" + SHARED_LDFLAGS="-no-undefined -Wl,--exclude-libs=libiberty.a" + SHARED_LIBADD="`pwd`/../bfd/libbfd.la -Wl,`pwd`/../libiberty/libiberty.a -L`pwd`/../intl -lintl -lcygwin" ;; *-*-darwin*) SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.dylib ${SHARED_LIBADD}" --- origsrc/binutils-gdb/bfd/configure 2020-03-15 02:15:41.000000000 +0100 +++ bfd/configure 2020-03-29 06:06:37.748775200 +0200 @@ -14570,8 +14570,9 @@ if test "$enable_shared" = "yes"; then case "${host}" in # More hacks to build DLLs on Windows. *-*-cygwin*) - SHARED_LDFLAGS="-no-undefined" - SHARED_LIBADD="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32" + SHARED_LDFLAGS="-no-undefined -Wl,--exclude-libs=libiberty.a" + SHARED_LIBADD="-Wl,`pwd`/../libiberty/libiberty.a -L`pwd`/../intl -lintl -lcygwin -lkernel32" + ;; # Use built-in libintl on macOS, since it is not provided by libc. --- origsrc/binutils-gdb/opcodes/configure 2020-03-15 02:19:03.000000000 +0100 +++ opcodes/configure 2020-03-29 06:07:33.159680000 +0200 @@ -12784,8 +12784,9 @@ if test "$enable_shared" = "yes"; then case "${host}" in *-*-cygwin*) - SHARED_LDFLAGS="-no-undefined" - SHARED_LIBADD="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin" + SHARED_LDFLAGS="-no-undefined -Wl,--exclude-libs=libiberty.a" + SHARED_LIBADD="`pwd`/../bfd/libbfd.la -Wl,`pwd`/../libiberty/libiberty.a -L`pwd`/../intl -lintl -lcygwin" + ;; *-*-darwin*) SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.dylib ${SHARED_LIBADD}" [-- Attachment #3: binutils.cygport --] [-- Type: text/plain, Size: 1288 bytes --] TOOLCHAIN_TARGET="native" GIT_URI="git://sourceware.org/git/binutils-gdb.git" GIT_REV=de9c1b7cfe6e57ea8b677dc2de06e83de50f47c2 inherit toolchain git SRC_DIR=binutils-gdb NAME="binutils" VERSION=2.34+1git.de9c1b7cfe RELEASE=3 CATEGORY="Devel" SUMMARY="GNU assember, linker, and similar utilities" DESCRIPTION="This directory contains various GNU compilers, assemblers, linkers, debuggers, etc., plus their support routines, definitions, and documentation." HOMEPAGE="http://www.gnu.org/software/binutils/" # case ${VERSION} in # *.*.[5-9][0-9]) # SRC_URI="mirror://sourceware/binutils/snapshots/binutils-${VERSION}.tar.bz2" ;; # *) SRC_URI="mirror://gnu/binutils/binutils-${VERSION}.tar.bz2" ;; # esac PATCH_URI+="2.34+1-shared-libs.patch" # gdb,etc.: https://sourceware.org/ml/binutils/2014-01/msg00341.html # for shared libbfd/libopcodes, add: # --enable-shared CYGCONF_ARGS=" --enable-install-libiberty --disable-gdb --disable-libdecnumber --disable-readline --disable-sim --with-system-zlib --enable-shared lt_cv_deplibs_check_method=pass_all " src_install() { cd ${B} cyginstall # for shared libbfd/libopcodes, add: # APIs are unstable, do not allow linking against DLLs rm -f ${D}/usr/lib/*.dll.a sed -i -e '/^library_names=/d' ${D}/usr/lib/lib*.la } ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ANNOUNCEMENT] Updated: binutils-2.34-2 (x86/x86_64)(Test)
@ 2020-04-21 1:10 Steven Penny
2020-04-21 2:39 ` JonY
0 siblings, 1 reply; 6+ messages in thread
From: Steven Penny @ 2020-04-21 1:10 UTC (permalink / raw)
To: 10walls; +Cc: cygwin
> The following packages have been uploaded to the Cygwin distribution:
>
> * binutils-2.34
Why is binutils still 24 MB?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ANNOUNCEMENT] Updated: binutils-2.34-2 (x86/x86_64)(Test) 2020-04-21 1:10 Steven Penny @ 2020-04-21 2:39 ` JonY 0 siblings, 0 replies; 6+ messages in thread From: JonY @ 2020-04-21 2:39 UTC (permalink / raw) To: cygwin [-- Attachment #1.1: Type: text/plain, Size: 361 bytes --] On 4/21/20 1:10 AM, Steven Penny wrote: >> The following packages have been uploaded to the Cygwin distribution: >> >> * binutils-2.34 > > Why is binutils still 24 MB? > Because the stripped down version is broken and not able to find w32api libraries, shared library builds are crashing on launch. I haven't have time to investigate further. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-04-21 2:40 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-04-12 4:09 [ANNOUNCEMENT] Updated: binutils-2.34-2 (x86/x86_64)(Test) JonY via Cygwin-announce 2020-04-12 8:46 ` Marco Atzeri 2020-04-12 9:59 ` JonY 2020-04-12 13:32 ` Marco Atzeri 2020-04-21 1:10 Steven Penny 2020-04-21 2:39 ` JonY
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).