Commit Graph

7871 Commits (a1eac6f28e070f285748f53315f11bbe4b3fc137)
 

Author SHA1 Message Date
Dimitris Apostolou 1a02819187 Remove deprecated bind_at_load from macOS 10 months ago
Fabrice Fontaine 6b33250c59 build/CMakeLists.txt: enable C language
Detection of libatomic is broken since version 2.47.0 and
b7f0d87daf
because C language is not enabled anymore:

-- Looking for __atomic_fetch_add_4 in atomic
-- Looking for __atomic_fetch_add_4 in atomic - not found
CMake Error at cmake_modules/CheckAtomic.cmake:59 (message):
  Host compiler appears to require libatomic, but cannot find it.
Call Stack (most recent call first):
  CMakeLists.txt:54 (include)

Indeed if C language is not enabled, the test will be run with the C++
compiler resulting in the following error:

Building CXX object CMakeFiles/cmTC_03d01.dir/CheckFunctionExists.cxx.o
        /home/fabrice/buildroot/output/host/bin/x86_64-linux-g++ --sysroot=/home/fabrice/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=__atomic_fetch_add_4  -DNDEBUG -o CMakeFiles/cmTC_03d01.dir/CheckFunctionExists.cxx.o -c /home/fabrice/buildroot/output/build/i2pd-2.49.0/build/CMakeFiles/CMakeScratch/TryCompile-NApnv9/CheckFunctionExists.cxx
        <command-line>: error: new declaration ‘char __atomic_fetch_add_4()’ ambiguates built-in declaration ‘unsigned int __atomic_fetch_add_4(volatile void*, unsigned int, int)’ [-fpermissive]

whereas with a C compiler, we'll get:

Building C object CMakeFiles/cmTC_7e47b.dir/CheckFunctionExists.c.o
        /home/fabrice/buildroot/output/host/bin/x86_64-linux-gcc --sysroot=/home/fabrice/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=__atomic_fetch_add_4  -DNDEBUG -o CMakeFiles/cmTC_7e47b.dir/CheckFunctionExists.c.o -c /home/fabrice/buildroot/output/build/i2pd-2.49.0/build/CMakeFiles/CMakeScratch/TryCompile-e0zFMG/CheckFunctionExists.c
        <command-line>: warning: conflicting types for built-in function ‘__atomic_fetch_add_4’; expected ‘unsigned int(volatile void *, unsigned int,  int)’ [-Wbuiltin-declaration-mismatch]

Fix #1908

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
10 months ago
orignal 083034fa35 send peer tests with random delays 10 months ago
R4SAS 0021501d75
[gha] disable FreeBSD build
Additional info: https://github.com/vmactions/freebsd-vm/issues/74
11 months ago
R4SAS 379be2a29e
[gha] Update FreeBSD build action 11 months ago
orignal a3f62e1d71 check actual distance with router to reduce expiration time 11 months ago
orignal a6ee1e648e recognize trailing padding as part of base64 address 11 months ago
orignal 575268d360 reduce expiration time for low bandwidth and far routers 11 months ago
orignal 69b0bef206 fixed possible invalid pointer when send error response 11 months ago
orignal e1b4feb618 correct base64 check 11 months ago
orignal 3286bdb4a7 verify jump link for valid characters 11 months ago
orignal c8ae15041f
Merge pull request #1980 from freeacetone/openssl
Yggdrasil reseed address replaced by address for 4.X+ version
11 months ago
acetone e090b9052a
Yggdrasil reseed address replaced by address for 4.X+ version 11 months ago
Dex 0ef9c08326 fix manpage typo for ipv4 flag 11 months ago
orignal d04b19d77c don't recalculate badwidth if clock was adjusted too much 11 months ago
orignal 04adc14b76 ls@mail.i2p yggdrasil reseed added 11 months ago
orignal 0dee0609ea
Merge pull request #1972 from Vort/nominmax
Fix MSVC compilation for std::max
11 months ago
Vort 0a519d8072 Fix MSVC compilation for std::max 11 months ago
orignal 0cc91dd2d2 don't pick too active peer 11 months ago
orignal 606e35eec1 reseed.us.prestium.org reseed added 12 months ago
orignal e926b0392f reseed.is.prestium.org reseed added 12 months ago
orignal 9980bfa0e7
Update README.md 12 months ago
orignal efdbe26755 try peer test again if Unknown 12 months ago
orignal bb3ae8f5e4 Merge branch 'openssl' of https://github.com/PurpleI2P/i2pd into openssl 12 months ago
orignal 1e6edf06a2 send already accepting error response 12 months ago
hfsfox 0cf656cd76
Add Haiku OS support (#1970) 12 months ago
r4sas fb420bb563
[cpu] more builtin version check changes
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
r4sas 3da5061426
[cpu] Increase GCC version for use of builtin CPU extensions checker
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
orignal dd32f1ed6d
Merge pull request #1968 from PurpleI2P/cpu
[cpu] use short defines instead of long checks
1 year ago
r4sas 1857f14be8
[cpu] use short defines instead of long checks
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
r4sas 9c25a88707
[i18n] update translations
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
r4sas c599d65307
[i18n] update translations
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
r4sas 4d573f6655
2.49.0
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
orignal 3a4238729a 2.49.0 1 year ago
orignal df6bb6d9b8 2.49.0 1 year ago
orignal 918aa556ef fixed non-x86 build 1 year ago
r4sas 1e7feae0df
[rpm] remove BuildRequires tabulation
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
r4sas 70829ee79e
[rpm] add Fedora ELN support
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
r4sas 4ed19c05f6
[cpu] split AES detect for GNU C < 5
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
r4sas 4a5e16b994
[cpu] tests with preprocessor
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
r4sas c53ad2012c
[cpu] use cpuid on gcc < 5
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
R4SAS 7b6aa41ca8
CPU: remove AVX code, switch to __builtin for AES detection (#1959)
* [cpu] remove avx detect and code blocks, try to switch to __builtin
* [cpu] use __builtin_* only on x86 systems
* [cpu] perform check in separate function
* [cpu] set AES definition on MSVC
* update x86 and aes support checks at compile time
* [cmake] update comment about AES on MSVC
1 year ago
జిందం వాఐి 32c5ff23a6
Differentiate cryptocurrency & its associated address (#1951) 1 year ago
orignal c112276eea memory poll for RouterProfile 1 year ago
Chad Fraleigh 662a59d0fd Eliminate additional undefined behavior of bit shifting signed int. 1 year ago
orignal 72919ec076
Merge pull request #1960 from chadf/chacha20-buf-outlen
Fixed buf offset EVP_EncryptFinal_ex() to include outlen.
1 year ago
Chad Fraleigh 627b8dca83
Fixed buf offset EVP_EncryptFinal_ex() to include outlen. 1 year ago
orignal 7bcc905f05 exclude SSU1 introducers 1 year ago
orignal 8447822c35 don't publish intrducers with zero tag 1 year ago
orignal 411063e3b5
Merge pull request #1958 from Vort/session_log
improve transport session logging
1 year ago