You are not logged in.

#151 2022-02-09 23:20:35

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,474
Website

Re: What is happening with glibc and gcc packages?

agapito wrote:

I've installed the new toolchain and my computer hasn't exploded yet, I am not having any problems at the moment.

I could compile my custom kernel just fine, but other packages failed to compile throwing these kind of errors

/usr/bin/ld: /usr/lib/libx265.so.199: reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)@GLIBCXX_3.4.21' not defined

Can you give an exact example of a package that fails like this?   This seems to be in the realm of a partial update.

Edit: I can see this...

Offline

#152 2022-02-09 23:28:01

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,474
Website

Re: What is happening with glibc and gcc packages?

johnyan wrote:

Also the new toolchain doesn't move the --enable-install-libiberty to binutils. Do you think it's worth to open a bug report? I installed the new staging toolchain. so far no issue.

It is as if every improvement people provided patches for was ignored...

Edit: I am told this was intended "just to get the update" and other things will be merged in the coming weeks.

Offline

#153 2022-02-09 23:46:39

freswa
Package Maintainer (PM)
Registered: 2020-05-01
Posts: 3

Re: What is happening with glibc and gcc packages?

Hey people,
thank you for posting here. Your voice is heard and while compiling the toolchain this thread helped a lot!
I intentionally went for a fast release to have glibc 2.35 out rather soon than to make a lot of changes with the first release after months and a new maintainer.
I'm looking at the patches now and start running tests.

Offline

#154 2022-02-09 23:58:09

johnyan
Member
From: Canada
Registered: 2022-02-02
Posts: 30

Re: What is happening with glibc and gcc packages?

Hey freswa, thank you so much for your work and contribution.

Offline

#155 2022-02-10 00:44:17

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,474
Website

Re: What is happening with glibc and gcc packages?

agapito wrote:

but other packages failed to compile throwing these kind of errors

/usr/bin/ld: /usr/lib/libx265.so.199: reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)@GLIBCXX_3.4.21' not defined

Turns out that if libx265 is compiled with latest binutils (as the variant in [testing] is), then this is "fixed".  Now to figure out why...

Offline

#156 2022-02-10 04:16:43

loqs
Member
Registered: 2014-03-06
Posts: 18,055

Re: What is happening with glibc and gcc packages?

Allan wrote:

Any chance you want to open a bug report with more explanation than a very long mailing list link?

https://bugs.archlinux.org/task/73708
Brief summary glibc upstream expected CET to be left off as it was by default until kernel support was finalized.  Without kernel support it does not work,  with a kernel supporting the current proposed interface it will not work as expected and can produce segfaults.

Offline

#157 2022-02-10 07:35:46

agapito
Member
From: Who cares.
Registered: 2008-11-13
Posts: 678

Re: What is happening with glibc and gcc packages?

Allan wrote:
agapito wrote:

I've installed the new toolchain and my computer hasn't exploded yet, I am not having any problems at the moment.

I could compile my custom kernel just fine, but other packages failed to compile throwing these kind of errors

/usr/bin/ld: /usr/lib/libx265.so.199: reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)@GLIBCXX_3.4.21' not defined

Can you give an exact example of a package that fails like this?   This seems to be in the realm of a partial update.

Edit: I can see this...

obs-studio-git from AUR. I'm using the staging repo by the way.

EDIT: Manually rebuilding some packages from staging repo, made errors gone away.

Last edited by agapito (2022-02-12 15:40:23)


Excuse my poor English.

Offline

#158 2022-02-10 08:56:25

dogknowsnx
Member
Registered: 2021-04-12
Posts: 652

Re: What is happening with glibc and gcc packages?

freswa wrote:

Hey people,
thank you for posting here. Your voice is heard and while compiling the toolchain this thread helped a lot!
I intentionally went for a fast release to have glibc 2.35 out rather soon than to make a lot of changes with the first release after months and a new maintainer.
I'm looking at the patches now and start running tests.

Thanks a lot! FWIW I've installed the toolchain from testing and compiled a couple small packages (termite, yambar-git, personal PKGBUILDS) without any issues - so far everything's working smoothly here...

Last edited by dogknowsnx (2022-02-10 08:57:17)


RI - Rest your Eyes and Self

"We are eternal, all this pain is an illusion" - Maynard James Keenan

Offline

#159 2022-02-12 18:31:27

afader
Member
Registered: 2013-09-12
Posts: 171

Re: What is happening with glibc and gcc packages?

Thanks to all for getting this into testing. If I install it however it doesn't quite work yet for my packages. Is there any way to trigger packages that need new glibc to reinstall or just be patient? I guess I could switch some distribution packages to -git versions and if they compile, great?

Edit: Got everything working, thanks all

Last edited by afader (2022-02-15 00:52:17)

Online

#160 2022-02-13 01:30:58

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,474
Website

Re: What is happening with glibc and gcc packages?

afader wrote:

Thanks to all for getting this into testing. If I install it however it doesn't quite work yet for my packages. Is there any way to trigger packages that need new glibc to reinstall or just be patient? I guess I could switch some distribution packages to -git versions and if they compile, great?

"doesn't quite work" is the vaguest description of a problem...  That gives us nothing to go on to fix your issues.

Offline

#161 2022-02-13 22:02:43

afader
Member
Registered: 2013-09-12
Posts: 171

Re: What is happening with glibc and gcc packages?

Edit: Got everything working, thanks all

Last edited by afader (2022-02-15 00:52:33)

Online

#162 2022-02-15 14:59:21

Zorbik
Member
Registered: 2016-08-09
Posts: 42

Re: What is happening with glibc and gcc packages?

Looks like the core glibc package was updated last night. Thanks to the maintainers

Offline

#163 2022-02-15 15:18:11

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,211

Re: What is happening with glibc and gcc packages?

And with that, I shall close this thread.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB