Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore "*get_pc_thunk.*" symbols in exported symbols test #392

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

matoro
Copy link
Contributor

@matoro matoro commented Feb 1, 2024

On i386 (32-bit x86) and sparc, gcc generates references to these functions which load the current PC into the specified register. These references are then resolved at link-time. Examples of what these symbols look like:

../src/.libs/libkvazaar.a:libkvazaar_la-cfg.o:00000000 T __x86.get_pc_thunk.ax
../src/.libs/libkvazaar.a:libkvazaar_la-cabac.o:0000000000000000 W __sparc_get_pc_thunk.l7

Since these are platform symbols inserted by the toolchain, ignore them. The regex is specified as tightly as possible, and based on a quick search these appear to be the only two platforms affected.

On i386 (32-bit x86) and sparc, gcc generates references to these
functions which load the current PC into the specified register.  These
references are then resolved at link-time.  Examples of what these
symbols look like:

../src/.libs/libkvazaar.a:libkvazaar_la-cfg.o:00000000 T __x86.get_pc_thunk.ax
../src/.libs/libkvazaar.a:libkvazaar_la-cabac.o:0000000000000000 W __sparc_get_pc_thunk.l7

Since these are platform symbols inserted by the toolchain, ignore them.
The regex is specified as tightly as possible, and based on a quick
search these appear to be the only two platforms affected.
@Jovasa Jovasa added the safe to test Run tests on CI label Feb 2, 2024
@Jovasa Jovasa merged commit a909ddd into ultravideo:master Feb 2, 2024
5 checks passed
@Jovasa
Copy link
Member

Jovasa commented Feb 2, 2024

Thanks!

matoro added a commit to matoro/gentoo that referenced this pull request Mar 1, 2024
Includes two new backports for remaining missing arches (x86 + sparc).

See: ultravideo/kvazaar#392
See: ultravideo/kvazaar#391
Bug: https://bugs.gentoo.org/902217
Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
gentoo-bot pushed a commit to gentoo/gentoo that referenced this pull request Mar 8, 2024
Includes two new backports for remaining missing arches (x86 + sparc).

See: ultravideo/kvazaar#392
See: ultravideo/kvazaar#391
Bug: https://bugs.gentoo.org/902217
Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
Closes: #35584
Signed-off-by: Sam James <sam@gentoo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test Run tests on CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants