Commit Graph

8 Commits

Author SHA1 Message Date
Andrei Belov
7ce6f05975 Packages: added unit-jsc (Java Servlet Container) family. 2019-02-28 18:22:15 +03:00
Valentin Bartenev
ce6ce15c20 Fixed violation of the strict aliasing rules in 5d0edd35c4ce.
In order to reduce number of operations over rb-tree and process them in
batches simultaneously, all the timers changes are temporary stored in array.
While processing of these changes, the same memory is also used for storing
pointers to postpone timers adding.

As the same block of memory has been referenced by two different types of
pointers (nxt_timer_change_t * and nxt_timer_t **), some compilers may reorder
operations with these pointers and produce broken code.  See ticket #221 on
GitHub for a particular case.

Now the same "nxt_timer_change_t" structure is used in both cases.

Also, reverted the -fno-strict-aliasing flag, which has been introduced in
ef76227ec159 as a workaround for this issue.
2019-02-26 17:42:20 +03:00
Andrei Belov
1ba49d9250 Packages: added "-fno-strict-aliasing" flag on CentOS 6 x86_64.
Closes #221 on GitHub.
2019-02-14 17:21:37 +03:00
Andrei Belov
9e383ecaf2 Packages: disabled debugsource generation on relevant platforms.
In particular, this fixes unit-go package building on Fedora >= 29.
2019-01-24 16:47:32 +03:00
Andrei Belov
9d1410a0bb Packages: "test" and "test-debug" targets for rpm. 2018-01-26 17:44:26 +03:00
Andrei Belov
0c4ec72ca8 Packages: added support for Amazon Linux. 2018-01-22 16:39:31 +03:00
Andrei Belov
cb3c7dd40c Packages: hardening flags for rpm. 2017-12-28 20:38:36 +03:00
Andrei Belov
eabe25d98e Introduced rpm packages building tools. 2017-10-19 18:23:31 +03:00