Git Product home page Git Product logo

Comments (10)

heinezen avatar heinezen commented on May 18, 2024 1

Now I get the same error with _GLIBCXX_DEBUG. I'll see what I can do about that tomorrow. Thanks for the input so far!

from openage.

heinezen avatar heinezen commented on May 18, 2024

Can't reproduce this on gcc 13.1

from openage.

FabioLolix avatar FabioLolix commented on May 18, 2024

I'm on 13.2.1

from openage.

heinezen avatar heinezen commented on May 18, 2024

Do you have _GLIBCXX_DEBUG or _GLIBCXX_ASSERTIONS defined in your setup?

from openage.

FabioLolix avatar FabioLolix commented on May 18, 2024

-D_GLIBCXX_ASSERTIONS is present, from /etc/makepkg.conf ~/.makepkg.conf

#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"
CHOST="x86_64-pc-linux-gnu"

#-- Compiler and Linker Flags
#CPPFLAGS=""
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
        -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
        -fstack-clash-protection -fcf-protection"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
#RUSTFLAGS="-C opt-level=2"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"
MAKEFLAGS="-j20"
#-- Debugging flags
DEBUG_CFLAGS="-g -fvar-tracking-assignments"
DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
#DEBUG_RUSTFLAGS="-C debuginfo=2"

#########################################################################

from openage.

heinezen avatar heinezen commented on May 18, 2024

Okay that could explain why I don't see the error. I'll build with _GLIBCXX_DEBUG and check back.

from openage.

heinezen avatar heinezen commented on May 18, 2024

I have found the bug and fixed it in #1570

from openage.

FabioLolix avatar FabioLolix commented on May 18, 2024

I have applied the 2 patches but get the (same?) error, but I'm also going to sleep now

[23/32] cpp util::tests::matrix
/usr/include/c++/13.2.1/array:202: constexpr std::array<_Tp, _Nm>::value_type& std::array<_Tp, _Nm>::operator[](size_type) [with _Tp = float; long unsigned int _Nm = 3; reference = float&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
/home/fabio/Dev/Github/PKGBUILD/openage-git/PKGBUILD: line 52: 68316 Aborted                 (core dumped) ./run.py test --run-all-tests
==> ERROR: A failure occurred in check().

from openage.

heinezen avatar heinezen commented on May 18, 2024

@fabio I think I forgot to push the actual fix :D

It should work now.

from openage.

FabioLolix avatar FabioLolix commented on May 18, 2024

1 It is working with the new patch

from openage.

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.