Repository navigation
X32 build support - #1
Closed
bnoordhuis wants to merge 3 commits into
Closed
bnoordhuis wants to merge 3 commits into
bnoordhuis wants to merge 3 commits into
Conversation
Member
|
Hey! I have no objections to this. Now, the patch will be a lot simpler once 1.x has been merged into master, which I plan to do once rc2 is out (soon). Then you can rebase and land it on master :-) |
Member
|
I merged 1.x into master yesterday in joyent/libuv can you update master here and rebase your patch against it? |
This commit adds x32 support to the autotools build. Configure with:
$ ./configure --host=x86_64-x32-linux --disable-dtrace
The `--disable-dtrace` switch is optional; you can omit it if your
system has x32 SystemTap headers installed.
Remnant from the bad old times when libuv still used libev.
This commit adds x32 support to the gyp build. Configure with:
$ ./gyp_uv.py -Dtarget_arch=x32
Member
Author
|
Done. |
Member
|
LGTM, land at your own will :-) |
Member
Author
|
Landed in v1.x in e1114b5. |
Closed
bnoordhuis
added a commit
to bnoordhuis/libuv
that referenced
this pull request
Oct 8, 2015
Valgrind complains that the msg_control pointer points to uninitialized
memory. While the memory is only used for writing data to, not for
reading data from, and the warning is therefore bogus, it's still
annoying enough that I decided to squelch it by zeroing the memory.
The performance implications should be minimal because this code path
is only used when sending over a handle to another process.
The warning:
==14859== Syscall param sendmsg(msg.msg_control) points to
uninitialised byte(s)
==14859== at 0x5AF1A80: __sendmsg_nocancel (in
/usr/lib64/libpthread-2.21.so)
==14859== by 0x46350E: uv__write (stream.c:810)
==14859== by 0x464B24: uv_write2 (stream.c:1398)
==14859== by 0x421ACE: run_test (test-ipc-send-recv.c:104)
==14859== by 0x421DD1: run_test_ipc_send_recv_tcp
(test-ipc-send-recv.c:156)
==14859== by 0x406D2F: run_test_part (runner.c:404)
==14859== by 0x4058CD: main (run-tests.c:58)
==14859== Address 0xffefff934 is on thread 1's stack
==14859== in frame libuv#1, created by uv__write (stream.c:742)
bnoordhuis
added a commit
to bnoordhuis/libuv
that referenced
this pull request
Oct 8, 2015
Valgrind complains that the msg_control pointer points to uninitialized
memory. While the memory is only used for writing data to, not for
reading data from, and the warning is therefore bogus, it's still
annoying enough that I decided to squelch it by zeroing the memory.
The performance implications should be minimal because this code path
is only used when sending over a handle to another process.
The warning:
==14859== Syscall param sendmsg(msg.msg_control) points to
uninitialised byte(s)
==14859== at 0x5AF1A80: __sendmsg_nocancel (in
/usr/lib64/libpthread-2.21.so)
==14859== by 0x46350E: uv__write (stream.c:810)
==14859== by 0x464B24: uv_write2 (stream.c:1398)
==14859== by 0x421ACE: run_test (test-ipc-send-recv.c:104)
==14859== by 0x421DD1: run_test_ipc_send_recv_tcp
(test-ipc-send-recv.c:156)
==14859== by 0x406D2F: run_test_part (runner.c:404)
==14859== by 0x4058CD: main (run-tests.c:58)
==14859== Address 0xffefff934 is on thread 1's stack
==14859== in frame libuv#1, created by uv__write (stream.c:742)
PR-URL: libuv#565
Reviewed-By: Fedor Indutny <[email protected]>
Reviewed-By: Saúl Ibarra Corretgé <[email protected]>
evanlucas
pushed a commit
to evanlucas/libuv
that referenced
this pull request
Dec 5, 2015
Valgrind complains that the msg_control pointer points to uninitialized
memory. While the memory is only used for writing data to, not for
reading data from, and the warning is therefore bogus, it's still
annoying enough that I decided to squelch it by zeroing the memory.
The performance implications should be minimal because this code path
is only used when sending over a handle to another process.
The warning:
==14859== Syscall param sendmsg(msg.msg_control) points to
uninitialised byte(s)
==14859== at 0x5AF1A80: __sendmsg_nocancel (in
/usr/lib64/libpthread-2.21.so)
==14859== by 0x46350E: uv__write (stream.c:810)
==14859== by 0x464B24: uv_write2 (stream.c:1398)
==14859== by 0x421ACE: run_test (test-ipc-send-recv.c:104)
==14859== by 0x421DD1: run_test_ipc_send_recv_tcp
(test-ipc-send-recv.c:156)
==14859== by 0x406D2F: run_test_part (runner.c:404)
==14859== by 0x4058CD: main (run-tests.c:58)
==14859== Address 0xffefff934 is on thread 1's stack
==14859== in frame libuv#1, created by uv__write (stream.c:742)
PR-URL: libuv#565
Reviewed-By: Fedor Indutny <[email protected]>
Reviewed-By: Saúl Ibarra Corretgé <[email protected]>
Closed
This was referenced Oct 10, 2016
Closed
5455945
added a commit
to 5455945/libuv
that referenced
this pull request
Dec 31, 2016
02 在common.gypi中添加了对xp版本的支持 03 在winbuild目录中加入对各个vs版本的工程文件
Thinstation
pushed a commit
to Thinstation/thinstation
that referenced
this pull request
Nov 22, 2020
modified: ts/ports/components/autofs/.md5sum modified: ts/ports/components/autofs/Pkgfile deleted: ts/ports/components/autofs/autofs#5.1.4-3.pkg.tar.xz new file: ts/ports/components/autofs/autofs#5.1.6-3.pkg.tar.xz new file: ts/ports/components/guile/.footprint new file: ts/ports/components/guile/.md5sum new file: ts/ports/components/guile/Pkgfile new file: ts/ports/components/guile/guile#2.2.6-1.pkg.tar.xz modified: ts/ports/components/libheimdal/libheimdal#7.7.0-1.pkg.tar.xz modified: ts/ports/components/libnsl/.footprint modified: ts/ports/components/libnsl/.md5sum modified: ts/ports/components/libnsl/Pkgfile deleted: ts/ports/components/libnsl/libnsl#1.2.0-1.pkg.tar.xz new file: ts/ports/components/libnsl/libnsl#1.3.0-1.pkg.tar.xz modified: ts/ports/components/libssh2/libssh2#1.9.0-2.pkg.tar.xz modified: ts/ports/components/libuv/.md5sum modified: ts/ports/components/libuv/Pkgfile deleted: ts/ports/components/libuv/libuv#1.32.0-1.pkg.tar.xz new file: ts/ports/components/libuv/libuv#1.40.0-1.pkg.tar.xz modified: ts/ports/components/open-vm-tools/.footprint modified: ts/ports/components/open-vm-tools/.md5sum modified: ts/ports/components/open-vm-tools/Pkgfile deleted: ts/ports/components/open-vm-tools/open-vm-tools#11.0.0-1.pkg.tar.xz new file: ts/ports/components/open-vm-tools/open-vm-tools#11.2.0-1.pkg.tar.xz modified: ts/ports/components/pidgin-sipe/.footprint modified: ts/ports/components/pidgin-sipe/.md5sum modified: ts/ports/components/pidgin-sipe/Pkgfile deleted: ts/ports/components/pidgin-sipe/pidgin-sipe#1.23.2-1.pkg.tar.xz new file: ts/ports/components/pidgin-sipe/pidgin-sipe#1.25.0-1.pkg.tar.xz deleted: ts/ports/components/webkitgtk1/PKGBUILD modified: ts/ports/contrib/openvpn/.footprint modified: ts/ports/contrib/openvpn/.md5sum modified: ts/ports/contrib/openvpn/Pkgfile deleted: ts/ports/contrib/OpenVPN/openvpn#2.4.7-1.pkg.tar.xz new file: ts/ports/contrib/OpenVPN/openvpn#2.5.0-1.pkg.tar.xz modified: ts/ports/contrib/pidgin/Pkgfile modified: ts/ports/contrib/pidgin/pidgin#2.14.1-1.pkg.tar.xz modified: ts/ports/contrib/xerces-c/.md5sum modified: ts/ports/contrib/xerces-c/Pkgfile deleted: ts/ports/contrib/xerces-c/xerces-c#3.2.2-1.pkg.tar.xz new file: ts/ports/contrib/xerces-c/xerces-c#3.2.3-1.pkg.tar.xz modified: ts/ports/core/openssh/.md5sum modified: ts/ports/core/openssh/Pkgfile modified: ts/ports/core/openssh/openssh#8.4p1-1.pkg.tar.xz new file: ts/ports/core/openssh/openssh-8.0p1-crypto-policies.patch modified: ts/ports/gnome/gnome-control-center/Pkgfile modified: ts/ports/gnome/gnome-control-center/gnome-control-center#3.36.4-1.pkg.tar.xz modified: ts/ports/gnome/gnome-mplayer/gnome-mplayer#1.0.9-1.pkg.tar.xz modified: ts/ports/gnome/gnome-online-accounts/gnome-online-accounts#3.36.0-2.pkg.tar.xz modified: ts/ports/gnome/metacity/Pkgfile modified: ts/ports/gnome/metacity/metacity#3.36.1-1.pkg.tar.xz modified: ts/ports/gnome/NetworkManager/NetworkManager#1.26.2-1.pkg.tar.xz modified: ts/ports/opt/bash-completion/bash-completion#2.9-2.pkg.tar.xz new file: ts/ports/opt/c-ares/.footprint new file: ts/ports/opt/c-ares/.md5sum new file: ts/ports/opt/c-ares/Pkgfile new file: ts/ports/opt/c-ares/c-ares#1.17.1-1.pkg.tar.xz modified: ts/ports/opt/cifs-utils/.footprint modified: ts/ports/opt/cifs-utils/.md5sum modified: ts/ports/opt/cifs-utils/Pkgfile new file: ts/ports/opt/cifs-utils/cifs-utils#6.11-1.pkg.tar.xz deleted: ts/ports/opt/cifs-utils/cifs-utils#6.8-1.pkg.tar.xz modified: ts/ports/opt/cyrus-sasl/.md5sum modified: ts/ports/opt/cyrus-sasl/Pkgfile modified: ts/ports/opt/cyrus-sasl/cyrus-sasl#2.1.27-1.pkg.tar.xz modified: ts/ports/opt/gnutls/.footprint modified: ts/ports/opt/gnutls/Pkgfile modified: ts/ports/opt/gnutls/gnutls#3.6.13-1.pkg.tar.xz modified: ts/ports/opt/krb5/.footprint modified: ts/ports/opt/krb5/krb5#git-1.pkg.tar.xz modified: ts/ports/opt/libtirpc/.md5sum modified: ts/ports/opt/libtirpc/Pkgfile deleted: ts/ports/opt/libtirpc/libtirpc#1.1.4-2.pkg.tar.xz new file: ts/ports/opt/libtirpc/libtirpc#1.2.6-2.pkg.tar.xz modified: ts/ports/opt/neon/.footprint modified: ts/ports/opt/neon/.md5sum modified: ts/ports/opt/neon/Pkgfile deleted: ts/ports/opt/neon/neon#0.30.2-1.pkg.tar.xz new file: ts/ports/opt/neon/neon#0.31.2-1.pkg.tar.xz modified: ts/ports/opt/nfs-utils/.footprint modified: ts/ports/opt/nfs-utils/.md5sum modified: ts/ports/opt/nfs-utils/Pkgfile deleted: ts/ports/opt/nfs-utils/nfs-utils#2.4.1-1.pkg.tar.xz new file: ts/ports/opt/nfs-utils/nfs-utils#2.5.2-1.pkg.tar.xz modified: ts/ports/opt/openldap/.footprint modified: ts/ports/opt/openldap/.md5sum modified: ts/ports/opt/openldap/Pkgfile deleted: ts/ports/opt/openldap/openldap#2.4.48-2.pkg.tar.xz new file: ts/ports/opt/openldap/openldap#2.4.56-2.pkg.tar.xz modified: ts/ports/opt/wireshark/.footprint modified: ts/ports/opt/wireshark/.md5sum modified: ts/ports/opt/wireshark/Pkgfile renamed: ts/ports/opt/wireshark/wireshark#3.2.7-1.pkg.tar.xz -> ts/ports/opt/wireshark/wireshark#3.4.0-1.pkg.tar.xz modified: ts/ports/xfce/terminal/.footprint modified: ts/ports/xfce/terminal/.md5sum modified: ts/ports/xfce/terminal/Pkgfile deleted: ts/ports/xfce/terminal/terminal#0.8.1-1.pkg.tar.xz new file: ts/ports/xfce/terminal/terminal#0.8.9-1.pkg.tar.xz modified: ts/ports/xfce/tumbler/.md5sum modified: ts/ports/xfce/tumbler/Pkgfile deleted: ts/ports/xfce/tumbler/tumbler#0.2.7-1.pkg.tar.xz new file: ts/ports/xfce/tumbler/tumbler#0.2.9-1.pkg.tar.xz
santigimeno
pushed a commit
that referenced
this pull request
Apr 4, 2021
ERROR: LeakSanitizer: detected memory leaks
```
Direct leak of 432 byte(s) in 9 object(s) allocated from:
#0 0x1062eedc2 in __sanitizer_mz_calloc+0x92 (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x46dc2)
#1 0x7fff20171eb6 in _malloc_zone_calloc+0x3a (libsystem_malloc.dylib:x86_64+0x1beb6)
#2 0x7fff203ac180 in _CFRuntimeCreateInstance+0x124 (CoreFoundation:x86_64h+0x4180)
#3 0x7fff203ab906 in __CFStringCreateImmutableFunnel3+0x84d (CoreFoundation:x86_64h+0x3906)
#4 0x7fff203ab0a1 in CFStringCreateWithCString+0x48 (CoreFoundation:x86_64h+0x30a1)
#5 0x1056f63e1 in uv__get_cpu_speed darwin.c:267
#6 0x1056f491e in uv_cpu_info darwin.c:338
```
PR-URL: #3098
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Santiago Gimeno <[email protected]>
Closed
This was referenced Aug 20, 2021
Closed
Closed
JeffroMF
referenced
this pull request
in JeffroMF/libuv
May 16, 2022
ERROR: LeakSanitizer: detected memory leaks
```
Direct leak of 432 byte(s) in 9 object(s) allocated from:
#0 0x1062eedc2 in __sanitizer_mz_calloc+0x92 (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x46dc2)
#1 0x7fff20171eb6 in _malloc_zone_calloc+0x3a (libsystem_malloc.dylib:x86_64+0x1beb6)
#2 0x7fff203ac180 in _CFRuntimeCreateInstance+0x124 (CoreFoundation:x86_64h+0x4180)
#3 0x7fff203ab906 in __CFStringCreateImmutableFunnel3+0x84d (CoreFoundation:x86_64h+0x3906)
libuv#4 0x7fff203ab0a1 in CFStringCreateWithCString+0x48 (CoreFoundation:x86_64h+0x30a1)
libuv#5 0x1056f63e1 in uv__get_cpu_speed darwin.c:267
libuv#6 0x1056f491e in uv_cpu_info darwin.c:338
```
PR-URL: libuv#3098
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Santiago Gimeno <[email protected]>
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
R=@indutny or @saghul?