public inbox for cygwin-patches@cygwin.com
 help / color / mirror / Atom feed
* Cygwin build utils dumper fails - new prereqs required?
@ 2023-02-16 23:02 Brian Inglis
  2023-02-17 13:14 ` Jon Turney
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Inglis @ 2023-02-16 23:02 UTC (permalink / raw)
  To: Cygwin Patches

[-- Attachment #1: Type: text/plain, Size: 746 bytes --]

Hi folks,

Building Cygwin from latest repo testing some unrelated doc patches and updated 
Unicode tables.
Cygwin utils fails to build dumper.
References to elf and binutils debuginfo, and undefined references to 
sframe_de-/encode ZSTD_de-/compress/_isError in attached log - config and normal 
processing suppressed and paths sanitized!
Are new prereqs required to be installed to satisfy, or something changed to 
suppress these references?

-- 
Take care. Thanks, Brian Inglis			Calgary, Alberta, Canada

La perfection est atteinte			Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter	not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer	but when there is no more to cut
			-- Antoine de Saint-Exupéry

[-- Attachment #2: newlib-cygwin-build64.log --]
[-- Type: text/plain, Size: 9018 bytes --]

make[1]: Entering directory '/.../build64'
make[2]: Entering directory '/.../build64/x86_64-pc-cygwin/newlib'
make[3]: Entering directory '/.../build64/x86_64-pc-cygwin/newlib'
make[4]: Entering directory '/.../build64/x86_64-pc-cygwin/newlib'
make[4]: Leaving directory '/.../build64/x86_64-pc-cygwin/newlib'
make[4]: Entering directory '/.../build64/x86_64-pc-cygwin/newlib'
make[4]: Leaving directory '/.../build64/x86_64-pc-cygwin/newlib'
make[4]: Leaving directory '/.../build64/x86_64-pc-cygwin/newlib'
make[3]: Leaving directory '/.../build64/x86_64-pc-cygwin/newlib'
make[2]: Leaving directory '/.../build64/x86_64-pc-cygwin/newlib'
make[2]: Entering directory '/.../build64/x86_64-pc-cygwin/winsup'
make[3]: Entering directory '/.../build64/x86_64-pc-cygwin/winsup/cygwin'
make[4]: Entering directory '/.../build64/x86_64-pc-cygwin/winsup/cygwin'
make[3]: Leaving directory '/.../build64/x86_64-pc-cygwin/winsup/cygserver'
make[3]: Entering directory '/.../build64/x86_64-pc-cygwin/winsup/utils'
make[4]: Entering directory '/.../build64/x86_64-pc-cygwin/winsup/utils'
make[5]: Entering directory '/.../build64/x86_64-pc-cygwin/winsup/utils/mingw'
make[5]: Leaving directory '/.../build64/x86_64-pc-cygwin/winsup/utils/mingw'
make[5]: Entering directory '/.../build64/x86_64-pc-cygwin/winsup/utils'
...
  CXX      dumper-dumper.o
  CXX      dumper-module_info.o
  CXXLD    dumper.exe
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../lib/libbfd.a(elfxx-x86.o): in function `_bfd_x86_elf_write_sframe_plt':
/usr/src/debug/binutils-2.40-1/bfd/elfxx-x86.c:1975: undefined reference to `sframe_encoder_write'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/elfxx-x86.c:1981: undefined reference to `sframe_encoder_free'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../lib/libbfd.a(elfxx-x86.o): in function `_bfd_x86_elf_create_sframe_plt':
/usr/src/debug/binutils-2.40-1/bfd/elfxx-x86.c:1872: undefined reference to `sframe_encode'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/elfxx-x86.c:1880: undefined reference to `sframe_calc_fre_type'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/elfxx-x86.c:1881: undefined reference to `sframe_fde_create_func_info'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/elfxx-x86.c:1911: undefined reference to `sframe_fde_create_func_info'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/elfxx-x86.c:1917: undefined reference to `sframe_encoder_add_funcdesc'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/elfxx-x86.c:1929: undefined reference to `sframe_encoder_add_fre'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/elfxx-x86.c:1889: undefined reference to `sframe_encoder_add_funcdesc'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/elfxx-x86.c:1899: undefined reference to `sframe_encoder_add_fre'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../lib/libbfd.a(elf-sframe.o): in function `_bfd_elf_parse_sframe':
/usr/src/debug/binutils-2.40-1/bfd/elf-sframe.c:219: undefined reference to `sframe_decode'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../lib/libbfd.a(elf-sframe.o): in function `sframe_decoder_init_func_bfdinfo':
/usr/src/debug/binutils-2.40-1/bfd/elf-sframe.c:107: undefined reference to `sframe_decoder_get_num_fidx'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../lib/libbfd.a(elf-sframe.o): in function `_bfd_elf_parse_sframe':
/usr/src/debug/binutils-2.40-1/bfd/elf-sframe.c:228: undefined reference to `sframe_decoder_free'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../lib/libbfd.a(elf-sframe.o): in function `_bfd_elf_discard_section_sframe':
/usr/src/debug/binutils-2.40-1/bfd/elf-sframe.c:277: undefined reference to `sframe_decoder_get_num_fidx'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../lib/libbfd.a(elf-sframe.o): in function `_bfd_elf_merge_section_sframe':
/usr/src/debug/binutils-2.40-1/bfd/elf-sframe.c:393: undefined reference to `sframe_decoder_get_abi_arch'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/elf-sframe.c:394: undefined reference to `sframe_encoder_get_abi_arch'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/elf-sframe.c:407: undefined reference to `sframe_decoder_get_num_fidx'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/elf-sframe.c:408: undefined reference to `sframe_encoder_get_num_fidx'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/elf-sframe.c:421: undefined reference to `sframe_decoder_get_funcdesc'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/elf-sframe.c:450: undefined reference to `sframe_decoder_get_hdr_size'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/elf-sframe.c:476: undefined reference to `sframe_encoder_add_funcdesc'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/elf-sframe.c:486: undefined reference to `sframe_decoder_get_fre'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/elf-sframe.c:488: undefined reference to `sframe_encoder_add_fre'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/elf-sframe.c:496: undefined reference to `sframe_decoder_free'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/elf-sframe.c:355: undefined reference to `sframe_decoder_get_abi_arch'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/elf-sframe.c:356: undefined reference to `sframe_decoder_get_fixed_fp_offset'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/elf-sframe.c:357: undefined reference to `sframe_decoder_get_fixed_ra_offset'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/elf-sframe.c:363: undefined reference to `sframe_encode'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../lib/libbfd.a(elf-sframe.o): in function `_bfd_elf_write_section_sframe':
/usr/src/debug/binutils-2.40-1/bfd/elf-sframe.c:526: undefined reference to `sframe_encoder_write'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/elf-sframe.c:541: undefined reference to `sframe_encoder_free'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../lib/libbfd.a(compress.o): in function `decompress_contents':
/usr/src/debug/binutils-2.40-1/bfd/compress.c:517: undefined reference to `ZSTD_decompress'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/compress.c:519: undefined reference to `ZSTD_isError'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../lib/libbfd.a(compress.o): in function `bfd_compress_section_contents':
/usr/src/debug/binutils-2.40-1/bfd/compress.c:656: undefined reference to `ZSTD_compress'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/binutils-2.40-1/bfd/compress.c:661: undefined reference to `ZSTD_isError'
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:600: dumper.exe] Error 1
make[5]: Leaving directory '/.../build64/x86_64-pc-cygwin/winsup/utils'
make[4]: *** [Makefile:864: all-recursive] Error 1
make[4]: Leaving directory '/.../build64/x86_64-pc-cygwin/winsup/utils'
make[3]: *** [Makefile:509: all] Error 2
make[3]: Leaving directory '/.../build64/x86_64-pc-cygwin/winsup/utils'
make[2]: *** [Makefile:398: all-recursive] Error 1
make[2]: Leaving directory '/.../build64/x86_64-pc-cygwin/winsup'
make[1]: *** [Makefile:9464: all-target-winsup] Error 2
make[1]: Leaving directory '/.../build64'
make: *** [Makefile:883: all] Error 2

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

* Re: Cygwin build utils dumper fails - new prereqs required?
  2023-02-16 23:02 Cygwin build utils dumper fails - new prereqs required? Brian Inglis
@ 2023-02-17 13:14 ` Jon Turney
  2023-02-17 17:35   ` Brian Inglis
  0 siblings, 1 reply; 3+ messages in thread
From: Jon Turney @ 2023-02-17 13:14 UTC (permalink / raw)
  To: Brian Inglis, Cygwin Patches

On 16/02/2023 23:02, Brian Inglis wrote:
> Hi folks,
> 
> Building Cygwin from latest repo testing some unrelated doc patches and 
> updated Unicode tables.
> Cygwin utils fails to build dumper.
> References to elf and binutils debuginfo, and undefined references to 
> sframe_de-/encode ZSTD_de-/compress/_isError in attached log - config 
> and normal processing suppressed and paths sanitized!
> Are new prereqs required to be installed to satisfy, or something 
> changed to suppress these references?

Yes, to build dumper with libbfd from binutils 2.40, you need 
libzstd-devel and

https://cygwin.com/git/?p=newlib-cygwin.git;a=commit;h=1387ea9f984d5a7aa096a66b67d61dc2cc565d21


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

* Re: Cygwin build utils dumper fails - new prereqs required?
  2023-02-17 13:14 ` Jon Turney
@ 2023-02-17 17:35   ` Brian Inglis
  0 siblings, 0 replies; 3+ messages in thread
From: Brian Inglis @ 2023-02-17 17:35 UTC (permalink / raw)
  To: Cygwin Patches

On 2023-02-17 06:14, Jon Turney wrote:
> On 16/02/2023 23:02, Brian Inglis wrote:
>> Hi folks,
>>
>> Building Cygwin from latest repo testing some unrelated doc patches and 
>> updated Unicode tables.
>> Cygwin utils fails to build dumper.
>> References to elf and binutils debuginfo, and undefined references to 
>> sframe_de-/encode ZSTD_de-/compress/_isError in attached log - config and 
>> normal processing suppressed and paths sanitized!
>> Are new prereqs required to be installed to satisfy, or something changed to 
>> suppress these references?
> 
> Yes, to build dumper with libbfd from binutils 2.40, you need libzstd-devel and
> 
> https://cygwin.com/git/?p=newlib-cygwin.git;a=commit;h=1387ea9f984d5a7aa096a66b67d61dc2cc565d21

Thanks Jon,

I saw that after I emailed, and both zstd and -devel, like lzip/-devel, have 
been in my Cygwin build install for a while.
I have since rebuilt without any issues.
Weird!
Could I have got a messed up git pull --ff without error messages?

-- 
Take care. Thanks, Brian Inglis			Calgary, Alberta, Canada

La perfection est atteinte			Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter	not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer	but when there is no more to cut
			-- Antoine de Saint-Exupéry

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

end of thread, other threads:[~2023-02-17 17:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-16 23:02 Cygwin build utils dumper fails - new prereqs required? Brian Inglis
2023-02-17 13:14 ` Jon Turney
2023-02-17 17:35   ` Brian Inglis

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).