nicholasjng / nanobind-bazel

Bazel defs and rules for building Python projects with nanobind extensions.
Apache License 2.0
6 stars 0 forks source link

Flip minsize option to True by default #20

Closed nicholasjng closed 3 months ago

nicholasjng commented 3 months ago

As per title.

nicholasjng commented 3 months ago

what. So -Os means Py_XDECREF is smuggled in on gcc+Linux?

I've taken a look at the compile commands on Linux, both look fairly comparable (outside of the PIC stitching in the linker command with Bazel). What is going on here?

nicholasjng commented 3 months ago

Searched a bit, found some threads on abi3audit regarding ref-counting symbol false positives.

Filed https://github.com/trailofbits/abi3audit/issues/83 since this result doesn't exactly match the other reports, but I'm strongly assuming this to be a false positive.