| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |/ / / |
|
|/ / / |
|
| | | |
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Probably nicer to fix this in config
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
by passing NULL as node name to
ei_connect_xinit()
ei_connect_xinit_ussi()
|
|\ \ \ \
| |/ / /
|/| / /
| |/ /
| | | |
* maint:
Update copyright year
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* rickard/rm-vxworks/OTP-16329:
Remove remaining VxWorks support
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
* kjell/erl_interface/remove_deprected/OTP-16328:
erl_interface: Fix broken make clean
|
| | | | |
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
* kjell/erl_interface/remove_deprected/OTP-16328:
erl_interface: Remove module syntax for C functions in docs
erl_interface: Fix broken doc links
Remove erl_* functions from erl_interface etc
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit:
* Removes the erl_interface functions that were scheduled for removal
before the OTP 23 release
* Removes the old erl_interface library (i.e., liberl_interface.a and
*not* libei.a)
* Removes references to the removed functions in the documentation
* Updates code examples to use the newer ei_* functions instead of the
removed erl_* functions
* Changes the prefix of the erl_global_* functions to ei_global and
modifies these functions so that they work without the removed
functions
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Makes one time compilation faster on windows,
deps generation is slow.
|
|\ \ \ \
| | |/ /
| |/| | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Noticed as a build failure against fresh gcc-master:
```
LD otp/lib/erl_interface/bin/x86_64-unknown-linux-gnu/erl_call
ld: otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(eirecv.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: multiple definition of `ei_default_socket_callbacks'; otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(ei_connect.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: first defined here
ld: otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(send.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: multiple definition of `ei_default_socket_callbacks'; otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(ei_connect.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: first defined here
ld: otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(send_reg.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: multiple definition of `ei_default_socket_callbacks'; otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(ei_connect.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: first defined here
ld: otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(epmd_port.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: multiple definition of `ei_default_socket_callbacks'; otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(ei_connect.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: first defined here
ld: otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(ei_portio.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: multiple definition of `ei_default_socket_callbacks'; otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(ei_connect.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [x86_64-unknown-linux-gnu/Makefile:669: otp/lib/erl_interface/bin/x86_64-unknown-linux-gnu/erl_call] Error 1
```
The failure looks legitimate: `ei_default_socket_callbacks` is a
struct defined in 'ei_portio.h' and in 'ei_portio.c'.
The change flips 'ei_portio.h' definition to declaration.
gcc-10 will change the default from -fcommon to fno-common:
https://gcc.gnu.org/PR85678.
The error also happens if CFLAGS=-fno-common passed explicitly.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|\ \ \ \ |
|
| | |/ /
| |/| | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit adds the flag -address to the erl_call program. This flag
makes it possible for the user to use erl_call to interact with a node
even if no EPMD instance is running on the node's host.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
This commit adds a family of functions to the erl_interface API that
make it possible to connect to a node without asking an EPMD instance
for a port. The new functions are useful in environments where EPMD is
not available.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* sverker/erl-interface-remove-dead-code:
erl_interface: Remove dead code in not_used directory
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| / /
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | | |
ei_accept must accept unknown listen fd.
mutex implementation only worked for first fd.
|
| | |
| | |
| | |
| | | |
and others without gcc atomics.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Run the dependency generation once and sed several times,
since it is only the sed scripts the changes between runs.
Speedup most notable on windows where the dependency generation
takes a lot of time.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There are a lot of MIXED_* options and adding a another mode for WSL
will make things worse, thus a cleanup is done first.
This commit consolidates the handling for the Makefiles, src and scripts and
moves the funcionality into similar named wrapper-scripts instead.
Path conversion is done with a script 'w32_path.sh' and
registry lookups with 'reg_query.sh'.
Path to the wrapper scripts is setup with: otp_build env_win32 <arch>.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* maint:
scripts/build-otp: Enable compile server for Travis/Jenkins builds
Don't use the compile server for PGO
Teach erlc to use the compile server
Update primary bootstrap
Add erl_compiler_server
Refactor the erl_compile module
Clarify that digraphs are implemented using ETS tables
|
| | | |
|
|\ \ \
| |/ / |
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
* sverker/erl_interface/ei_decode_fun-fix/OTP-15996:
erl_interface: Fix bug in ei_decode_fun for very old encoding
|
| | | |
| | | |
| | | |
| | | | |
Found by valgrind test runs.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* sverker/re-enable-big-creation/OTP-15603:
doc: Add links between dist flags and external tags (DTD updated)
erts: Fix docs for new pid,port,ref external tags
erts: Document new EPMD response ALIVE2_X_RESP
erl_interface: Support 32-bit creation local cnode
jinterface: Remove old encoding of pid,port,refs
epmd: Support 32-bit creation values in local node
erl_interface: Remove old encoding of pid,port,refs
erts: Remove old encoding of pids, ports and refs
erts: Make DFLAG_BIG_CREATION mandatory
|
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts revert-commit f824686c3c519ab00582bb1f854fdfda5e4b1240.
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
with tiny creation.
This reverts revert-commit ef44ba53defa0002ca6b12a786bd2d3555b0bb7b.
|
|\ \ \ \
| | |/ /
| |/| | |
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Wake AIX up from coma
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
erl_interface has a function in a struct, and AIX headers, when you
use C instead of C++, pollute the global namespace with definitions
that override socket functions, and end up clobbering names of
things Erlang/OTP uses. The new socket interface of R22 was one of
the victims. I had previously tied to fix it for erl_interface,
but the change broke API public surface. What this does is replace
the name with a define, that defines to the same name on non-AIX,
but uses a "mangled" name on AIX instead. This means internal uses
of this function in the struct need to use the preprocessor define
instead of the "normal" name, and likewise external users too,
but those can be dealt with one-at-a-time on AIX instead of
breaking everyone else.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
quick and dirty renaming. the reason why is because AIX has some
network function names prefixed with "n" for spec compliant
versions, and the unprefixed versions are just redfined or are
wrappers. as such, rename the erts/ei functions with these names.
fixes compile on IBM i 7.3
|
| |/ /
| | |
| | |
| | | |
Patch adapated from Bull's R15 SRPM.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
If the environment is empty, don't access the free_vars pointer
and don't allocate a zero-size buffer. Better safe than sorry.
|
|/ / |
|
|\ \
| |/
| |
| |
| | |
* maint:
Increase max number of node name characters to 256
|
| | |
|
| |\
| | |
| | |
| | |
| | | |
* lukas/erl_interface/depend-fix/OTP-15757:
erl_interface: Generate dependencies at compile time
|