Git Product home page Git Product logo

Comments (6)

camshaft avatar camshaft commented on September 26, 2024 1

Hey thanks for reaching out. I don't think we want to completely unset the variable but instead should only set it if it hasn't already been defined. I can get a PR out to try and address that.

from s2n-tls.

jwbee avatar jwbee commented on September 26, 2024 1

It is fixed for me on your tree.

from s2n-tls.

jwbee avatar jwbee commented on September 26, 2024

It appears that a solution might be:

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5713558d3..55d33a548 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -176,6 +176,7 @@ target_compile_options(${PROJECT_NAME} PUBLIC -fPIC)

 add_definitions(-D_POSIX_C_SOURCE=200809L)
 if(CMAKE_BUILD_TYPE MATCHES Release)
+    add_definitions(-U_FORTIFY_SOURCE)
     add_definitions(-D_FORTIFY_SOURCE=2)
 endif()

from s2n-tls.

camshaft avatar camshaft commented on September 26, 2024

I've opened #4465, which should address the issue. Just need to work through the OpenBSD failure before merging it. If you want to try out my branch to confirm it fixes what you're seeing, that would also be helpful 😃

from s2n-tls.

goatgoose avatar goatgoose commented on September 26, 2024

Hi @jwbee, I've executed the ubuntu quickstart instructions on a Ubuntu 24.04 instance and have been unsuccessful in reproducing this issue so far. I've tried using GCC 12 and 13, and both succeeded. I wonder if the behavior could have changed since the prerelease. Are you still running into this issue with the final 24.04 release?

from s2n-tls.

jwbee avatar jwbee commented on September 26, 2024

You're right, it builds and tests on the release ubuntu, from main branch.

from s2n-tls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.