Problems while upgrading from 4.2.0 to 4.4.0

Jordi Sanfeliu <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
Hello,

I upgraded the Newlib 4.2.0 to Newlib 4.4.0.20231231 (snapshot) in my 
hobbyOS FiwixOS and all went fine. Now with the new libc.a file in the 
system, I wanted to rebuild all the packages that form the complete 
operating system.

After comparing the build logs between 4.2.0 and 4.4.0, the majority of 
packages didn't show any difference.

These are the only differences:


diff -r logs.newlib-4.2.0/coreutils.buildlog logs/coreutils.buildlog
797c797,799
< checking whether ldexpl() can be used without linking with libm... no
---
> checking whether ldexpl() can be used without linking with libm... yes
> checking whether ldexpl works... yes
> checking whether ldexpl is declared... yes

diff -r logs.newlib-4.2.0/expat.buildlog logs/expat.buildlog
126,127c126
< checking for arc4random_buf (BSD or libbsd)... no
< checking for arc4random (BSD, macOS or libbsd)... no
---
> checking for arc4random_buf (BSD or libbsd)... yes
205a205,206
> 
/usr/lib/gcc/i386-pc-fiwix/4.7.4/../../../../i386-pc-fiwix/lib/libc.a(libc_a-arc4random.o): 
In function `_rs_stir':
> 
/mnt/disk/toolchain/build-newlib-4.4.0.final/i386-fiwix/newlib/../../../newlib-4.4.0/newlib/libc/stdlib/arc4random.c:101: 
warning: _getentropy is not implemented and will always fail
209a211,212
> 
/usr/lib/gcc/i386-pc-fiwix/4.7.4/../../../../i386-pc-fiwix/lib/libc.a(libc_a-arc4random.o): 
In function `_rs_stir':
> 
/mnt/disk/toolchain/build-newlib-4.4.0.final/i386-fiwix/newlib/../../../newlib-4.4.0/newlib/libc/stdlib/arc4random.c:101: 
warning: _getentropy is not implemented and will always fail
232a236,237
> 
/usr/lib/gcc/i386-pc-fiwix/4.7.4/../../../../i386-pc-fiwix/lib/libc.a(libc_a-arc4random.o): 
In function `_rs_stir':
> 
/mnt/disk/toolchain/build-newlib-4.4.0.final/i386-fiwix/newlib/../../../newlib-4.4.0/newlib/libc/stdlib/arc4random.c:101: 
warning: _getentropy is not implemented and will always fail
246a252,253
> 
/usr/lib/gcc/i386-pc-fiwix/4.7.4/../../../../i386-pc-fiwix/lib/libc.a(libc_a-arc4random.o): 
In function `_rs_stir':
> 
/mnt/disk/toolchain/build-newlib-4.4.0.final/i386-fiwix/newlib/../../../newlib-4.4.0/newlib/libc/stdlib/arc4random.c:101: 
warning: _getentropy is not implemented and will always fail

diff -r logs.newlib-4.2.0/groff.buildlog logs/groff.buildlog
190c190,192
< checking whether ldexpl() can be used without linking with libm... no
---
> checking whether ldexpl() can be used without linking with libm... yes
> checking whether ldexpl works... yes
> checking whether ldexpl is declared... yes

diff -r logs.newlib-4.2.0/gzip.buildlog logs/gzip.buildlog
296c296,298
< checking whether ldexpl() can be used without linking with libm... no
---
> checking whether ldexpl() can be used without linking with libm... yes
> checking whether ldexpl works... yes
> checking whether ldexpl is declared... yes

diff -r logs.newlib-4.2.0/libarchive.buildlog logs/libarchive.buildlog
255c255
< checking for arc4random_buf... no
---
> checking for arc4random_buf... yes
563a564,565
> 
/usr/lib/gcc/i386-pc-fiwix/4.7.4/../../../../i386-pc-fiwix/lib/libc.a(libc_a-arc4random.o): 
In function `_rs_stir':
> 
/mnt/disk/toolchain/build-newlib-4.4.0.final/i386-fiwix/newlib/../../../newlib-4.4.0/newlib/libc/stdlib/arc4random.c:101: 
warning: _getentropy is not implemented and will always fail
566a569,570
> 
/usr/lib/gcc/i386-pc-fiwix/4.7.4/../../../../i386-pc-fiwix/lib/libc.a(libc_a-arc4random.o): 
In function `_rs_stir':
> 
/mnt/disk/toolchain/build-newlib-4.4.0.final/i386-fiwix/newlib/../../../newlib-4.4.0/newlib/libc/stdlib/arc4random.c:101: 
warning: _getentropy is not implemented and will always fail

diff -r logs.newlib-4.2.0/libxcrypt.buildlog logs/libxcrypt.buildlog
50c50
< checking for sys/endian.h... no
---
> checking for sys/endian.h... yes
148c148
< checking for arc4random_buf... no
---
> checking for arc4random_buf... yes
151c151
< checking for getentropy... no
---
> checking for getentropy... yes

diff -r logs.newlib-4.2.0/m4.buildlog logs/m4.buildlog
363c363,365
< checking whether ldexpl() can be used without linking with libm... no
---
> checking whether ldexpl() can be used without linking with libm... yes
> checking whether ldexpl works... yes
> checking whether ldexpl is declared... yes

diff -r logs.newlib-4.2.0/nano.buildlog logs/nano.buildlog
381c381,383
< checking whether ldexpl() can be used without linking with libm... no
---
> checking whether ldexpl() can be used without linking with libm... yes
> checking whether ldexpl works... yes
> checking whether ldexpl is declared... yes

diff -r logs.newlib-4.2.0/nasm.buildlog logs/nasm.buildlog
132c132
< checking for sys/endian.h... no
---
> checking for sys/endian.h... yes
140,142c140,142
< checking for htole16... no
< checking for htole32... no
< checking for htole64... no
---
> checking for htole16... yes
> checking for htole32... yes
> checking for htole64... yes

diff -r logs.newlib-4.2.0/xz.buildlog logs/xz.buildlog
168,173c168,170
< checking sys/endian.h usability... no
< checking sys/endian.h presence... no
< checking for sys/endian.h... no
< checking sys/byteorder.h usability... no
< checking sys/byteorder.h presence... no
< checking for sys/byteorder.h... no
---
> checking sys/endian.h usability... yes
> checking sys/endian.h presence... yes
> checking for sys/endian.h... yes
249a247,250
> In file included from common/common.h:18:0,
>                  from common/common.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
252a254,257
> In file included from common/common.h:18:0,
>                  from common/block_util.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
255a261,265
> In file included from common/common.h:18:0,
>                  from common/easy_preset.h:13,
>                  from common/easy_preset.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
258a269,273
> In file included from common/common.h:18:0,
>                  from common/filter_common.h:16,
>                  from common/filter_common.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
261a277,280
> In file included from common/common.h:18:0,
>                  from common/hardware_physmem.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
264a284,288
> In file included from common/common.h:18:0,
>                  from common/index.h:16,
>                  from common/index.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
267a292,296
> In file included from common/common.h:18:0,
>                  from common/stream_flags_common.h:16,
>                  from common/stream_flags_common.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
270a300,303
> In file included from common/common.h:18:0,
>                  from common/vli_size.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
273a307,310
> In file included from common/common.h:18:0,
>                  from common/alone_encoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
276a314,318
> In file included from common/common.h:18:0,
>                  from common/block_encoder.h:16,
>                  from common/block_buffer_encoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
279a322,326
> In file included from common/common.h:18:0,
>                  from common/block_encoder.h:16,
>                  from common/block_encoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
282a330,333
> In file included from common/common.h:18:0,
>                  from common/block_header_encoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
285a337,341
> In file included from common/common.h:18:0,
>                  from common/easy_preset.h:13,
>                  from common/easy_buffer_encoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
288a345,349
> In file included from common/common.h:18:0,
>                  from common/easy_preset.h:13,
>                  from common/easy_encoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
291a353,357
> In file included from common/common.h:18:0,
>                  from common/easy_preset.h:13,
>                  from common/easy_encoder_memusage.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
294a361,365
> In file included from common/common.h:18:0,
>                  from common/filter_encoder.h:16,
>                  from common/filter_buffer_encoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
297a369,373
> In file included from common/common.h:18:0,
>                  from common/filter_encoder.h:16,
>                  from common/filter_encoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
300a377,381
> In file included from common/common.h:18:0,
>                  from common/filter_encoder.h:16,
>                  from common/filter_flags_encoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
303a385,389
> In file included from common/common.h:18:0,
>                  from common/index_encoder.h:16,
>                  from common/index_encoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
306a393,397
> In file included from common/common.h:18:0,
>                  from common/index.h:16,
>                  from common/stream_buffer_encoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
309a401,405
> In file included from common/common.h:18:0,
>                  from common/stream_encoder.h:16,
>                  from common/stream_encoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
312a409,413
> In file included from common/common.h:18:0,
>                  from common/stream_flags_common.h:16,
>                  from common/stream_flags_encoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
315a417,420
> In file included from common/common.h:18:0,
>                  from common/vli_encoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
318a424,428
> In file included from common/common.h:18:0,
>                  from common/alone_decoder.h:16,
>                  from common/alone_decoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
321a432,436
> In file included from common/common.h:18:0,
>                  from common/stream_decoder.h:16,
>                  from common/auto_decoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
324a440,444
> In file included from common/common.h:18:0,
>                  from common/block_decoder.h:16,
>                  from common/block_buffer_decoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
327a448,452
> In file included from common/common.h:18:0,
>                  from common/block_decoder.h:16,
>                  from common/block_decoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
330a456,459
> In file included from common/common.h:18:0,
>                  from common/block_header_decoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
333a463,467
> In file included from common/common.h:18:0,
>                  from common/easy_preset.h:13,
>                  from common/easy_decoder_memusage.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
336a471,475
> In file included from common/common.h:18:0,
>                  from common/filter_decoder.h:16,
>                  from common/filter_buffer_decoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
339a479,483
> In file included from common/common.h:18:0,
>                  from common/filter_decoder.h:16,
>                  from common/filter_decoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
342a487,491
> In file included from common/common.h:18:0,
>                  from common/filter_decoder.h:16,
>                  from common/filter_flags_decoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
345a495,499
> In file included from common/common.h:18:0,
>                  from common/index.h:16,
>                  from common/index_decoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
348a503,506
> In file included from common/common.h:18:0,
>                  from common/index_hash.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
351a510,514
> In file included from common/common.h:18:0,
>                  from common/stream_decoder.h:16,
>                  from common/stream_buffer_decoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
354a518,522
> In file included from common/common.h:18:0,
>                  from common/stream_decoder.h:16,
>                  from common/stream_decoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
357a526,530
> In file included from common/common.h:18:0,
>                  from common/stream_flags_common.h:16,
>                  from common/stream_flags_decoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
360a534,537
> In file included from common/common.h:18:0,
>                  from common/vli_decoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
363a541,545
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from check/check.h:16,
>                  from check/check.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
366a549,552
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from check/crc32_table.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
369a556,560
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from check/check.h:16,
>                  from check/crc32_fast.c:19:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
372a564,567
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from check/crc64_table.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
375a571,575
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from check/check.h:16,
>                  from check/crc64_fast.c:17:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
378a579,583
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from check/check.h:16,
>                  from check/sha256.c:29:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
381a587,591
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from lz/lz_encoder.h:17,
>                  from lz/lz_encoder.c:14:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
384a595,599
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from lz/lz_encoder.h:17,
>                  from lz/lz_encoder_mf.c:14:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
387a603,607
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from lz/lz_decoder.h:17,
>                  from lz/lz_decoder.c:20:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
390a611,615
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from lzma/lzma2_encoder.h:17,
>                  from lzma/lzma_encoder.c:14:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
393a619,622
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from lzma/lzma_encoder_presets.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
396a626,631
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from ../../src/liblzma/lz/lz_encoder.h:17,
>                  from lzma/lzma_encoder_private.h:17,
>                  from lzma/lzma_encoder_optimum_fast.c:12:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
399a635,640
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from ../../src/liblzma/lz/lz_encoder.h:17,
>                  from lzma/lzma_encoder_private.h:17,
>                  from lzma/lzma_encoder_optimum_normal.c:12:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
402a644,647
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from lzma/fastpos_table.c:3:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
405a651,655
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from ../../src/liblzma/lz/lz_decoder.h:17,
>                  from lzma/lzma_decoder.c:14:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
408a659,663
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from ../../src/liblzma/lz/lz_encoder.h:17,
>                  from lzma/lzma2_encoder.c:14:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
411a667,671
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from lzma/lzma2_decoder.h:17,
>                  from lzma/lzma2_decoder.c:14:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
414a675,680
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from rangecoder/range_common.h:18,
>                  from rangecoder/range_encoder.h:17,
>                  from rangecoder/price_table.c:3:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
417a684,688
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from delta/delta_common.h:16,
>                  from delta/delta_common.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
420a692,697
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from delta/delta_common.h:16,
>                  from delta/delta_encoder.h:16,
>                  from delta/delta_encoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
423a701,706
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from delta/delta_common.h:16,
>                  from delta/delta_decoder.h:16,
>                  from delta/delta_decoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
426a710,715
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from simple/simple_coder.h:16,
>                  from simple/simple_private.h:16,
>                  from simple/simple_coder.c:16:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
429a719,724
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from simple/simple_coder.h:16,
>                  from simple/simple_encoder.h:16,
>                  from simple/simple_encoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
432a728,733
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from simple/simple_coder.h:16,
>                  from simple/simple_decoder.h:16,
>                  from simple/simple_decoder.c:13:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
435a737,742
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from simple/simple_coder.h:16,
>                  from simple/simple_private.h:16,
>                  from simple/x86.c:14:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
438a746,751
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from simple/simple_coder.h:16,
>                  from simple/simple_private.h:16,
>                  from simple/powerpc.c:14:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
441a755,760
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from simple/simple_coder.h:16,
>                  from simple/simple_private.h:16,
>                  from simple/ia64.c:14:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
444a764,769
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from simple/simple_coder.h:16,
>                  from simple/simple_private.h:16,
>                  from simple/arm.c:14:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
447a773,778
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from simple/simple_coder.h:16,
>                  from simple/simple_private.h:16,
>                  from simple/armthumb.c:14:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
450a782,787
> In file included from ../../src/liblzma/common/common.h:18:0,
>                  from simple/simple_coder.h:16,
>                  from simple/simple_private.h:16,
>                  from simple/sparc.c:14:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]
500a838,840
> In file included from list.c:14:0:
> ../../src/common/tuklib_integer.h: In function 'read16be':
> ../../src/common/tuklib_integer.h:180:2: warning: implicit 
declaration of function '__builtin_bswap16' 
[-Wimplicit-function-declaration]

diff -r logs.newlib-4.2.0/zile.buildlog logs/zile.buildlog
337,339c337,339
< checking whether acosl is declared without a macro... no
< checking whether asinl is declared without a macro... no
< checking whether atanl is declared without a macro... no
---
> checking whether acosl is declared without a macro... yes
> checking whether asinl is declared without a macro... yes
> checking whether atanl is declared without a macro... yes
341,343c341,343
< checking whether ceill is declared without a macro... no
< checking whether cosl is declared without a macro... no
< checking whether expl is declared without a macro... no
---
> checking whether ceill is declared without a macro... yes
> checking whether cosl is declared without a macro... yes
> checking whether expl is declared without a macro... yes
345c345
< checking whether floorl is declared without a macro... no
---
> checking whether floorl is declared without a macro... yes
347c347
< checking whether ldexpl is declared without a macro... no
---
> checking whether ldexpl is declared without a macro... yes
349c349
< checking whether logl is declared without a macro... no
---
> checking whether logl is declared without a macro... yes
352,353c352,353
< checking whether roundl is declared without a macro... no
< checking whether sinl is declared without a macro... no
---
> checking whether roundl is declared without a macro... yes
> checking whether sinl is declared without a macro... yes
355c355
< checking whether tanl is declared without a macro... no
---
> checking whether tanl is declared without a macro... yes
358c358
< checking whether truncl is declared without a macro... no
---
> checking whether truncl is declared without a macro... yes
386c386,388
< checking whether ldexpl() can be used without linking with libm... no
---
> checking whether ldexpl() can be used without linking with libm... yes
> checking whether ldexpl works... yes
> checking whether ldexpl is declared... (cached) yes


Any idea, if the above warnings are harmless or whats's the cause they 
appeared in the 4.4.0 version?


Also, Python 3.6 no longer builds and ends with the following error message:

[...]
gcc -static -static    -o python Programs/python.o libpython3.6m.a 
-lreadline -ltermcap    -lm              -lcrypt            -L/usr/lib 
-lz  -lbz2                       -lm
libpython3.6m.a(random.o): In function `py_getentropy':
/mnt/disk/Python-3.6.15/Python/random.c:231: warning: _getentropy is not 
implemented and will always fail
./python -E -S -m sysconfig --generate-posix-vars ;\
if test $? -ne 0 ; then \
	echo "generate-posix-vars failed" ; \
	rm -f ./pybuilddir.txt ; \
	exit 1 ; \
fi
Fatal Python error: failed to get random numbers to initialize Python

/bin/sh: line 5: 16784 IOT trap                ./python -E -S -m 
sysconfig --generate-posix-vars
generate-posix-vars failed
make: *** [Makefile:582: pybuilddir.txt] Error 1


Any idea what could be the cause why the same Python no longer compiles 
on 4.4.0?

BTW, I have cloned the latest 4.4.0 version (Thu, 22 Aug 2024 19:24:35 
+0000 (21:24 +0200)) and the results are the same as the snapshot of 
20231231.

I repeat, the same packages build perfectly with Newlib 4.2.0.

I really appreciate if you can help me on this.
Thank you.

-- 
Jordi Sanfeliu
FIBRANET Network Services Provider
https://www.fibranet.cat
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.