Package Details: fmt9 9.1.0-5

Git Clone URL: https://aur.archlinux.org/fmt9.git (read-only, click to copy)
Package Base: fmt9
Description: Open-source formatting library for C++
Upstream URL: https://fmt.dev/
Keywords: chrono formatting output printf
Licenses: MIT
Provides: libfmt.so
Submitter: abouvier
Maintainer: abouvier
Last Packager: abouvier
Votes: 4
Popularity: 0.159918
First Submitted: 2023-07-30 08:30 (UTC)
Last Updated: 2024-04-02 19:57 (UTC)

Required by (25)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

bkb commented on 2023-11-01 12:24 (UTC)

Add cppdap as dep

MarsSeed commented on 2023-08-21 11:02 (UTC)

Please remove the bogus 'yolo' keyword. Thank you.

MarsSeed commented on 2023-08-16 13:04 (UTC)

Please add this fix just like repo's fmt did when it was still on v9.1.0:

https://github.com/fmtlib/fmt/commit/0b0f7cfbfcebd021c910078003d413354bd843e2

Neko-san commented on 2023-07-31 23:05 (UTC)

Nope, it seems even with that it still reproduces the invalid free pointer...

Neko-san commented on 2023-07-31 21:18 (UTC)

Ohhhh! Thanks for clarifying that Lol

abouvier commented on 2023-07-31 20:02 (UTC)

-stdlib=libc++ belongs to CXXFLAGS!

Neko-san commented on 2023-07-31 19:56 (UTC) (edited on 2023-07-31 19:57 (UTC) by Neko-san)

Might be that I'm using hardneing flags with them, then? Or maybe the LLVM assembler? Not sure

CC=clang
CXX=clang++
AR="/usr/bin/llvm-ar"
NM="/usr/bin/llvm-nm"
AS="/usr/bin/llvm-as"
RANLIB="/usr/bin/llvm-ranlib"
OBJCOPY="/usr/bin/llvm-objcopy"
CFLAGS="-g -O3 -pipe -fno-plt -fpic -fpie -Wl,-z,relro,-z,now -w \
        -fexceptions -Wp,-D_FORTIFY_SOURCE=2 \
        -Wformat -Werror=format-security \
        -fstack-clash-protection -fstack-protector-strong -fcf-protection \
        -march=znver2 -mtune=znver2"
CXXFLAGS="${CFLAGS} -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS="-lc++abi -stdlib=libc++ -fuse-ld=lld -unwind=libunwind -pie -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now"

abouvier commented on 2023-07-31 19:47 (UTC)

It fails when you don't use -stdlib=libc++ with all the other options.

Neko-san commented on 2023-07-31 19:09 (UTC) (edited on 2023-07-31 19:10 (UTC) by Neko-san)

Add -lc++abi and -unwind=libunwind

abouvier commented on 2023-07-31 10:46 (UTC)

I don't have any errors compiling with:

export CC=clang
export CXX=clang++
export CXXFLAGS+=" -stdlib=libc++"
export LDFLAGS+=" -fuse-ld=lld"