Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78129 - flatbuffer needs rebuild

Attached to Project: Community Packages
Opened by Gao Xiang (zasdfgbnm) - Wednesday, 05 April 2023, 21:39 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 05 April 2023, 21:45 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I am seeing the following linking error when trying to link my library with flatbuffer:

/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.4.0/../../../../lib/libflatbuffers.so: undefined reference to `std::__glibcxx_assert_fail(char const*, int, char const*, char const*)@GLIBCXX_3.4.30'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.4.0/../../../../lib/libflatbuffers.so: undefined reference to `std::__throw_bad_array_new_length()@GLIBCXX_3.4.29'

I think this error is because archlinux updated glibc but didn't rebuild flatbuffer to link the correct symbols. I uninstalled flatbuffer and installed flatbuffer-git, the linking error disappear for me.

Steps to reproduce:

Git clone this repository: https://github.com/NVIDIA/Fuser/commit/8c9bb395880cca16aecb952dcf8903d2b41d30be
And follow this instruction to build: https://github.com/NVIDIA/Fuser/wiki/Building-fuser-project#option-2---build-nvfuser-separately-from-pytorch-standalone-build
You might see other build failures unrelated to this task, for example the one mentioned in https://github.com/NVIDIA/Fuser/issues/137, to resolve this, you can run
flatc --cpp python_fusion_cache.fbs
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 05 April 2023, 21:45 GMT
Reason for closing:  Not a bug
Additional comments about closing:  gcc 10 is unsupported

Loading...