build: enable re-attach disconnected path by default
Ignored on Ubuntu 25.04 and abi3.0
This commit is contained in:
parent
c51943934e
commit
483c0c107d
3 changed files with 50 additions and 3 deletions
|
|
@ -108,7 +108,16 @@ func Configure() {
|
|||
case 3:
|
||||
builder.Register("abi3") // Convert all profiles from abi 4.0 to abi 3.0
|
||||
case 4:
|
||||
// builder.Register("attach") // Re-attach disconnected path
|
||||
// Re-attach disconnected path, ignored on ubuntu 25.04+ due to a memory leak
|
||||
// that fully prevent profiles compilation with re-attached paths.
|
||||
// See https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2098730
|
||||
if prebuild.Distribution != "ubuntu" {
|
||||
builder.Register("attach")
|
||||
prepare.Register("attach")
|
||||
} else if prebuild.Release["VERSION_CODENAME"] == "noble" {
|
||||
builder.Register("attach")
|
||||
prepare.Register("attach")
|
||||
}
|
||||
default:
|
||||
logging.Fatal("Invalid ABI version: %d", prebuild.ABI)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue