public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* update zlib to 1.2.8
@ 2015-11-23  4:37 Matthias Klose
  2015-11-23  9:44 ` Andrew Haley
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Matthias Klose @ 2015-11-23  4:37 UTC (permalink / raw)
  To: GCC Patches, GCJ-patches; +Cc: gdb-patches, binutils

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

In GCC zlib is only used for libjava; for binutils and gdb it is used when 
building without --with-system-zlib.  This just updates zlib from 1.2.7 to 1.2.8 
(released in 2013).  Applies cleanly, libjava still builds and doesn't show any 
regressions in the testsuite.  Ok to apply (even if we already are in stage3)?

Matthias

zlib/ChangeLog.gcj

+2015-11-23  Matthias Klose  <doko@ubuntu.com>
+
+       * Imported zlib 1.2.8; merged local changes.

zlib/ChangeLog

+Changes in 1.2.8 (28 Apr 2013)
+- Update contrib/minizip/iowin32.c for Windows RT [Vollant]
+- Do not force Z_CONST for C++
+- Clean up contrib/vstudio [Ro<A7>]
+- Correct spelling error in zlib.h
+- Fix mixed line endings in contrib/vstudio
+
+Changes in 1.2.7.3 (13 Apr 2013)
+- Fix version numbers and DLL names in contrib/vstudio/*/zlib.rc
+
+Changes in 1.2.7.2 (13 Apr 2013)
+- Change check for a four-byte type back to hexadecimal
+- Fix typo in win32/Makefile.msc
+- Add casts in gzwrite.c for pointer differences
+
+Changes in 1.2.7.1 (24 Mar 2013)
+- Replace use of unsafe string functions with snprintf if available
+- Avoid including stddef.h on Windows for Z_SOLO compile [Niessink]
+- Fix gzgetc undefine when Z_PREFIX set [Turk]
+- Eliminate use of mktemp in Makefile (not always available)
+- Fix bug in 'F' mode for gzopen()
+- Add inflateGetDictionary() function
+- Correct comment in deflate.h
+- Use _snprintf for snprintf in Microsoft C
+- On Darwin, only use /usr/bin/libtool if libtool is not Apple
+- Delete "--version" file if created by "ar --version" [Richard G.]
+- Fix configure check for veracity of compiler error return codes
+- Fix CMake compilation of static lib for MSVC2010 x64
+- Remove unused variable in infback9.c
+- Fix argument checks in gzlog_compress() and gzlog_write()
+- Clean up the usage of z_const and respect const usage within zlib
+- Clean up examples/gzlog.[ch] comparisons of different types
+- Avoid shift equal to bits in type (caused endless loop)
+- Fix unintialized value bug in gzputc() introduced by const patches
+- Fix memory allocation error in examples/zran.c [Nor]
+- Fix bug where gzopen(), gzclose() would write an empty file
+- Fix bug in gzclose() when gzwrite() runs out of memory
+- Check for input buffer malloc failure in examples/gzappend.c
+- Add note to contrib/blast to use binary mode in stdio
+- Fix comparisons of differently signed integers in contrib/blast
+- Check for invalid code length codes in contrib/puff
+- Fix serious but very rare decompression bug in inftrees.c
+- Update inflateBack() comments, since inflate() can be faster
+- Use underscored I/O function names for WINAPI_FAMILY
+- Add _tr_flush_bits to the external symbols prefixed by --zprefix
+- Add contrib/vstudio/vc10 pre-build step for static only
+- Quote --version-script argument in CMakeLists.txt
+- Don't specify --version-script on Apple platforms in CMakeLists.txt
+- Fix casting error in contrib/testzlib/testzlib.c
+- Fix types in contrib/minizip to match result of get_crc_table()
+- Simplify contrib/vstudio/vc10 with 'd' suffix
+- Add TOP support to win32/Makefile.msc
+- Suport i686 and amd64 assembler builds in CMakeLists.txt
+- Fix typos in the use of _LARGEFILE64_SOURCE in zconf.h
+- Add vc11 and vc12 build files to contrib/vstudio
+- Add gzvprintf() as an undocumented function in zlib
+- Fix configure for Sun shell
+- Remove runtime check in configure for four-byte integer type
+- Add casts and consts to ease user conversion to C++
+- Add man pages for minizip and miniunzip
+- In Makefile uninstall, don't rm if preceding cd fails
+- Do not return Z_BUF_ERROR if deflateParam() has nothing to write

[-- Attachment #2: zlib.diff.gz --]
[-- Type: application/gzip, Size: 39836 bytes --]

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

* Re: update zlib to 1.2.8
  2015-11-23  4:37 update zlib to 1.2.8 Matthias Klose
@ 2015-11-23  9:44 ` Andrew Haley
  2015-11-23 17:33 ` Jeff Law
  2015-11-23 18:13 ` Joel Brobecker
  2 siblings, 0 replies; 6+ messages in thread
From: Andrew Haley @ 2015-11-23  9:44 UTC (permalink / raw)
  To: Matthias Klose, GCC Patches, GCJ-patches; +Cc: gdb-patches, binutils

On 23/11/15 04:37, Matthias Klose wrote:
> In GCC zlib is only used for libjava; for binutils and gdb it is used when 
> building without --with-system-zlib.  This just updates zlib from 1.2.7 to 1.2.8 
> (released in 2013).  Applies cleanly, libjava still builds and doesn't show any 
> regressions in the testsuite.  Ok to apply (even if we already are in stage3)?

Fine by me; GDB assent is more important.

Andrew.

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

* Re: update zlib to 1.2.8
  2015-11-23  4:37 update zlib to 1.2.8 Matthias Klose
  2015-11-23  9:44 ` Andrew Haley
@ 2015-11-23 17:33 ` Jeff Law
  2015-11-23 18:13 ` Joel Brobecker
  2 siblings, 0 replies; 6+ messages in thread
From: Jeff Law @ 2015-11-23 17:33 UTC (permalink / raw)
  To: Matthias Klose, GCC Patches, GCJ-patches; +Cc: gdb-patches, binutils

On 11/22/2015 09:37 PM, Matthias Klose wrote:
> In GCC zlib is only used for libjava; for binutils and gdb it is used
> when building without --with-system-zlib.  This just updates zlib from
> 1.2.7 to 1.2.8 (released in 2013).  Applies cleanly, libjava still
> builds and doesn't show any regressions in the testsuite.  Ok to apply
> (even if we already are in stage3)?
>
> Matthias
>
> zlib/ChangeLog.gcj
>
> +2015-11-23  Matthias Klose  <doko@ubuntu.com>
> +
> +       * Imported zlib 1.2.8; merged local changes.
OK, though it's really late for this.  My biggest worry here given GCJ's 
status is build failures on the lesser used hosts.   If it causes 
significant problems we'll have to revert.

Jeff

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

* Re: update zlib to 1.2.8
  2015-11-23  4:37 update zlib to 1.2.8 Matthias Klose
  2015-11-23  9:44 ` Andrew Haley
  2015-11-23 17:33 ` Jeff Law
@ 2015-11-23 18:13 ` Joel Brobecker
  2015-11-23 20:29   ` Matthias Klose
  2 siblings, 1 reply; 6+ messages in thread
From: Joel Brobecker @ 2015-11-23 18:13 UTC (permalink / raw)
  To: Matthias Klose; +Cc: GCC Patches, GCJ-patches, gdb-patches, binutils

> In GCC zlib is only used for libjava; for binutils and gdb it is used when
> building without --with-system-zlib.  This just updates zlib from 1.2.7 to
> 1.2.8 (released in 2013).  Applies cleanly, libjava still builds and doesn't
> show any regressions in the testsuite.  Ok to apply (even if we already are
> in stage3)?

> +2015-11-23  Matthias Klose  <doko@ubuntu.com>
> +
> +       * Imported zlib 1.2.8; merged local changes.

Should not be a problem for GDB, since we're not near branching time.

Out of curiosity, what prompted this update? Just to be in sync with
the latest? Or was there an actual bug that you hit which 1.2.8 fixes?

-- 
Joel

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

* Re: update zlib to 1.2.8
  2015-11-23 18:13 ` Joel Brobecker
@ 2015-11-23 20:29   ` Matthias Klose
  2015-11-24 14:39     ` Joel Brobecker
  0 siblings, 1 reply; 6+ messages in thread
From: Matthias Klose @ 2015-11-23 20:29 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: GCC Patches, GCJ-patches, gdb-patches, binutils

On 23.11.2015 19:13, Joel Brobecker wrote:
>> In GCC zlib is only used for libjava; for binutils and gdb it is used when
>> building without --with-system-zlib.  This just updates zlib from 1.2.7 to
>> 1.2.8 (released in 2013).  Applies cleanly, libjava still builds and doesn't
>> show any regressions in the testsuite.  Ok to apply (even if we already are
>> in stage3)?
>
>> +2015-11-23  Matthias Klose  <doko@ubuntu.com>
>> +
>> +       * Imported zlib 1.2.8; merged local changes.
>
> Should not be a problem for GDB, since we're not near branching time.
>
> Out of curiosity, what prompted this update? Just to be in sync with
> the latest? Or was there an actual bug that you hit which 1.2.8 fixes?

No, just a packaging issue with somebody mentioning a static binutils build. 
That's when I saw the outdated version.

Now updated in the GCC VCS.

Matthias

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

* Re: update zlib to 1.2.8
  2015-11-23 20:29   ` Matthias Klose
@ 2015-11-24 14:39     ` Joel Brobecker
  0 siblings, 0 replies; 6+ messages in thread
From: Joel Brobecker @ 2015-11-24 14:39 UTC (permalink / raw)
  To: Matthias Klose; +Cc: GCC Patches, GCJ-patches, gdb-patches, binutils

> No, just a packaging issue with somebody mentioning a static binutils build.
> That's when I saw the outdated version.
> 
> Now updated in the GCC VCS.

OK, if you have updated the GCC sources, would you mind updating
the binutils-gdb.git as well? We should really keep the two as much
in sync as we can.

Thanks!
-- 
Joel

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

end of thread, other threads:[~2015-11-24 14:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-23  4:37 update zlib to 1.2.8 Matthias Klose
2015-11-23  9:44 ` Andrew Haley
2015-11-23 17:33 ` Jeff Law
2015-11-23 18:13 ` Joel Brobecker
2015-11-23 20:29   ` Matthias Klose
2015-11-24 14:39     ` Joel Brobecker

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