Page MenuHomeFreeBSD

Remove name mangling in generate-ucl.sh
ClosedPublic

Authored by markj on Apr 21 2021, 2:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 2, 6:11 AM
Unknown Object (File)
Sat, Mar 28, 7:05 AM
Unknown Object (File)
Fri, Mar 27, 6:23 AM
Unknown Object (File)
Tue, Mar 24, 3:05 AM
Unknown Object (File)
Thu, Mar 19, 8:17 AM
Unknown Object (File)
Wed, Mar 18, 11:39 PM
Unknown Object (File)
Wed, Mar 18, 8:10 AM
Unknown Object (File)
Mon, Mar 16, 7:48 AM

Details

Summary

I don't plan to commit this yet, as we're not sure why the name mangling
was there to begin with. r364009 introduced a regression for packages
containing a "_" in the name, such as libcompiler_rt. Removing the name
mangling fixes the problem.

Test Plan

I no longer see errors about missing dependencies when installing base packages.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38751
Build 35640: arc lint + arc unit

Event Timeline

markj requested review of this revision.Apr 21 2021, 2:51 PM
markj added reviewers: manu, pkgbase.
In D29883#670691, @me_igalic.co wrote:

i wonder if this regression is the cause of https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254173

It doesn't seem so. There is a missing dependency specification: ld actually depends on the -dev package for a couple of libraries, as you found. In particular, clibs-dev, libcompiler_rt-dev and utilities-dev are all required in order to dynamically link a program.

I think this is indeed a bug. Other -dev packages don't explicitly depend on the "core" -dev packages either.

I don't remember why I did this but yes this solve some dependencies issues.

In D29883#672527, @manu wrote:

I don't remember why I did this but yes this solve some dependencies issues.

Ok, thanks. I think I will go ahead and commit this with a generous MFC period to see if I break anything. The original name mangling was added long enough ago that I want to believe that whatever problem it solved no longer exists.

In D29883#672527, @manu wrote:

I don't remember why I did this but yes this solve some dependencies issues.

Ok, thanks. I think I will go ahead and commit this with a generous MFC period to see if I break anything. The original name mangling was added long enough ago that I want to believe that whatever problem it solved no longer exists.

Yes I believe that too.

This revision is now accepted and ready to land.Apr 26 2021, 1:10 PM