Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
segmentation fault in sys-libs/glibc-2.23-r3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
sormy
n00b
n00b


Joined: 01 Dec 2011
Posts: 29

PostPosted: Thu Mar 02, 2017 12:36 am    Post subject: segmentation fault in sys-libs/glibc-2.23-r3 Reply with quote

Hi, i have an issue, for some reason sys-libs/glibc-2.23-r3 has segfault during compiling. Previous version 2.22-r4 works well.
Code:

# emerge -pqv '=sys-libs/glibc-2.23-r3::gentoo'
[ebuild     U ] sys-libs/glibc-2.23-r3 [2.22-r4] USE="hardened (multilib) rpc%* -audit% -caps% -debug -gd -nscd (-profile) (-selinux) -suid -systemtap -vanilla"

emerge --info: http://pastebin.com/hU3vMX9z

build log (giant 23MB) and environment log compressed and available here https://owncloud.artembutusov.com/index.php/s/c9X1g4hegDSEfoS

2.22-r4 has security issues, so I need to update but I can't :-(

[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31272
Location: here

PostPosted: Thu Mar 02, 2017 9:46 am    Post subject: Reply with quote

This error is replicable? If you try to rebuild glibc, it fails with the same error?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
C5ace
Guru
Guru


Joined: 23 Dec 2013
Posts: 484
Location: Brisbane, Australia

PostPosted: Thu Mar 02, 2017 11:01 am    Post subject: Re: segmentation fault in sys-libs/glibc-2.23-r3 Reply with quote

sormy wrote:
Hi, i have an issue, for some reason sys-libs/glibc-2.23-r3 has segfault during compiling. Previous version 2.22-r4 works well.
Code:

# emerge -pqv '=sys-libs/glibc-2.23-r3::gentoo'
[ebuild     U ] sys-libs/glibc-2.23-r3 [2.22-r4] USE="hardened (multilib) rpc%* -audit% -caps% -debug -gd -nscd (-profile) (-selinux) -suid -systemtap -vanilla"

emerge --info: http://pastebin.com/hU3vMX9z

build log (giant 23MB) and environment log compressed and available here https://owncloud.artembutusov.com/index.php/s/c9X1g4hegDSEfoS

2.22-r4 has security issues, so I need to update but I can't :-(

[Moderator edit: added [code] tags to preserve output layout. -Hu]


Have a look at:

https://forums.gentoo.org/viewtopic-t-1060054-start-0-postdays-0-postorder-asc-highlight-.html

This may be related to openrc-0.23.2.
Back to top
View user's profile Send private message
sormy
n00b
n00b


Joined: 01 Dec 2011
Posts: 29

PostPosted: Sat Mar 04, 2017 12:47 am    Post subject: Reply with quote

openrc masked, reemerged, emerge --depclean

emerge failed with slightly different error:

Code:

build-amd64-x86_64-pc-linux-gnu-nptl/string/rtld-strcmp.os'
make[3]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.23-r3/work/glibc-2.23/elf'
make[2]: *** [Makefile:368: /var/tmp/portage/sys-libs/glibc-2.23-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/rtld-libc.a] Error 2
make[2]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.23-r3/work/glibc-2.23/elf'
make[1]: *** [Makefile:96: elf/ldso_install] Error 2
make[1]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.23-r3/work/glibc-2.23'
make: *** [Makefile:12: install] Error 2
 * ERROR: sys-libs/glibc-2.23-r3::gentoo failed (install phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-libs/glibc-2.23-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.23-r3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.23-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.23-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-libs/glibc-2.23-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl'
 * S: '/var/tmp/portage/sys-libs/glibc-2.23-r3/work/glibc-2.23'

>>> Failed to emerge sys-libs/glibc-2.23-r3, Log file:


Need to note, that glibc-2.22 doesn't have such issue.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22686

PostPosted: Sat Mar 04, 2017 1:52 am    Post subject: Reply with quote

What is the error in =sys-libs/glibc-2.23-r3?
Back to top
View user's profile Send private message
sormy
n00b
n00b


Joined: 01 Dec 2011
Posts: 29

PostPosted: Sat Mar 04, 2017 5:15 am    Post subject: Reply with quote

Code:

make[3]: *** [../o-iterator.mk:9: /var/tmp/portage/sys-libs/glibc-2.23-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/string/rtld-strchr.os] Segmentation fault


http://pastebin.com/6mvJEWbH
Back to top
View user's profile Send private message
sormy
n00b
n00b


Joined: 01 Dec 2011
Posts: 29

PostPosted: Sat Mar 04, 2017 8:29 pm    Post subject: Reply with quote

Thanks for help, i reemerged binutils, make and now glibc was successfully installed
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum