!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

136 Members
49 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
6 Feb 2024
@sandro:supersandro.deSandro 🐧ohhh 🤔 18:31:13
@trofi:matrix.orgtrofitpm2-tss overrides read(), but not read64(). File offset bits just break it's build.19:18:08
@trofi:matrix.orgtrofihttps://github.com/tpm2-software/tpm2-tss/blob/e637b842322b1a64f9ad10af66af43d2d9328564/test/unit/tcti-device.c#L15319:23:14
@trofi:matrix.orgtrofiAs it goes via "-Wl,-wrap" linker hack it completely bypasses "#define read read64".19:24:55
@trofi:matrix.orgtrofiI would expect binary packages in less of a danger (unless there are common libraries that export unsized "off_t" and friends)19:26:11
@trofi:matrix.orgtrofi* tpm2-tss overrides read(), but not read64(). File offset bits just break it's tests as overrides does not happen any more.19:30:56
7 Feb 2024
@seanybaggins:matrix.orgSean Link set a profile picture.20:08:43
8 Feb 2024
@raitobezarius:matrix.orgraitobezariusdoes anyone has an opinion on enabling frame pointers by default?16:04:15
@raitobezarius:matrix.orgraitobezariusI have been thinking about it for a while and Jon Seager told me about it recently and talked about it recently: https://fosdem.org/2024/events/attachments/fosdem-2024-3513-what-s-possible-in-observability-when-we-have-frame-pointers/slides/22782/2024-02_-_FOSDEM_-_frame_pointers_xaPhw1N.pdf16:04:42
@trofi:matrix.orgtrofi nixpkgs does not seem to focus on producing fast binaries anyway (-fPIC, -fstack-protector-strong, -fno-strict-overflow and more to be added by default: all are stealing bytes on stack, registers to manage and inxtra instructions to handle by CPU), thus might be fine :) 16:17:57
@raitobezarius:matrix.orgraitobezariusneat :-)16:18:46
@raitobezarius:matrix.orgraitobezariusis it just a matter of inserting -fno-omit-frame-pointer in the stdenv, right?16:18:59
@trofi:matrix.orgtrofiYeah16:20:00
@trofi:matrix.orgtrofi Better guard it behind an off-switch to be able to repare rare users that expect inlining and sibling call optimizations to work (like glibc early ld.so code or linux kernel's boot code). 16:21:09
@aloisw:kde.org@aloisw:kde.orgThere already is https://github.com/NixOS/nixpkgs/pull/216341 btw18:04:02
@raitobezarius:matrix.orgraitobezariusyeah but it's not doing the change in cc-wrapper18:04:56
@aloisw:kde.org@aloisw:kde.orgIt should probably also be discussed how useful frame pointers are when the debug symbols have already been lost, as is seemingly very common.18:05:23
@raitobezarius:matrix.orgraitobezariuswell i wouldn't make frame pointers dependent on debug symbols18:09:43
@raitobezarius:matrix.orgraitobezariuswe can make frame pointers now18:09:49
@raitobezarius:matrix.orgraitobezariusand still work towards dsyms no?18:09:53
@aloisw:kde.org@aloisw:kde.orgI wasn't saying frame pointers are useless without debug info, you can probably still get some results from the symbol table alone.18:12:19
@raitobezarius:matrix.orgraitobezariusright I'm not saying you said that18:12:30
@raitobezarius:matrix.orgraitobezariusI'm not sure the discussion about usefulness without dsyms is important to make the change18:12:47
@aloisw:kde.org@aloisw:kde.orgBut frame pointers have a cost, and their benefit is at least somewhat reduced without debug info.18:12:54
@raitobezarius:matrix.orgraitobezariusright18:15:39

Show newer messages


Back to Room ListRoom Version: 9