You are not logged in.

#1 2018-12-16 11:17:12

aleixrocks
Member
Registered: 2018-10-02
Posts: 13

[SOLVED]unable to initialize decompress status for section .debug_info

Hi!

I used to compile the mainland's Linux Kernel without problems but after upgrading arch I'm getting the following warnings which apparently lead to a compilation failure:

[...]
objdump: kernel/.tmp_signal.o: unable to initialize decompress status for section .debug_info                       
objdump: kernel/.tmp_signal.o: unable to initialize decompress status for section .debug_info                       
objdump: kernel/.tmp_signal.o: file format not recognized                                                           
  CC      arch/x86/kernel/platform-quirks.o                                                                         
objdump: arch/x86/kernel/.tmp_ebda.o: unable to initialize decompress status for section .debug_info                
objdump: arch/x86/kernel/.tmp_ebda.o: unable to initialize decompress status for section .debug_info                
objdump: arch/x86/kernel/.tmp_ebda.o: file format not recognized                                                    
objdump: mm/.tmp_swap_slots.o: unable to initialize decompress status for section .debug_info                       
objdump: mm/.tmp_swap_slots.o: unable to initialize decompress status for section .debug_info                       
objdump: mm/.tmp_swap_slots.o: file format not recognized                                                           
  LDS     arch/x86/kernel/vmlinux.lds                                                                               
  CC      mm/frontswap.o                                                                                            
  CC      kernel/umh.o                                                                                              
objdump: arch/x86/kernel/.tmp_platform-quirks.o: unable to initialize decompress status for section .debug_info     
objdump: arch/x86/kernel/.tmp_platform-quirks.o: unable to initialize decompress status for section .debug_info     
objdump: arch/x86/kernel/.tmp_platform-quirks.o: file format not recognized                                         
  AR      arch/x86/kernel/built-in.a                                                      
make[1]: *** [/home/aleix/projects/kernel/kernel/kernel/linux/Makefile:1060: arch/x86] Error 2                     
make[1]: *** Waiting for unfinished jobs....  
[...]

I have seen a similar bug report on the gentoo forum, but seems weird that nobody else had reported it before in arch. Anyways I tried downgrading elfutils as well. However, I'm getting warned of unresolvable dependencies which scared me off.

(ins)[aleix@arks ~]$ sudo pacman -U /var/cache/pacman/pkg/elfutils-0.174-1-x86_64.pkg.tar.xz                       
loading packages...
warning: downgrading package elfutils (0.175-1 => 0.174-1)                                                         
resolving dependencies...
warning: cannot resolve "libelf=0.174-1", a dependency of "elfutils"                                               
:: The following package cannot be upgraded due to unresolvable dependencies:                                      
      elfutils

:: Do you want to skip the above package for this upgrade? [y/N]                                                   
error: failed to prepare transaction (could not satisfy dependencies)                                              
:: unable to satisfy dependency 'libelf=0.174-1' required by elfutils 

So I guess the safest option (apart from doing nothing and wait for the next update smile ) is to downgrade the entire system, right? Otherwise, what would you recommend me to solve the compilation problem?

Thank you!!!

Last edited by aleixrocks (2018-12-16 13:31:49)

Offline

#2 2018-12-16 11:38:11

loqs
Member
Registered: 2014-03-06
Posts: 9,080

Re: [SOLVED]unable to initialize decompress status for section .debug_info

elfutils and libelf would need to be downgraded together.  Alternatively can you try building in a clean chroot without elfutils (the kernel package requires libelf only)
https://sourceware.org/bugzilla/show_bug.cgi?id=23919
Edit:
The build with the issue has CONFIG_DEBUG_INFO enabled?

Last edited by loqs (2018-12-16 11:57:42)

Offline

#3 2018-12-16 13:31:05

aleixrocks
Member
Registered: 2018-10-02
Posts: 13

Re: [SOLVED]unable to initialize decompress status for section .debug_info

Hi loqs!

Yes, I was building the kernel with CONFIG_DEBUG_INFO

Downgrading both elfutils and libelf at the same time did the trick! I will also keep in mind the idea of using a chroot for the next time.

For the record, I used the command:

sudo pacman -U /var/cache/pacman/pkg/elfutils-0.174-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/libelf-0.174-1-x86_64.pkg.tar.xz

Thank you very much!

Last edited by aleixrocks (2018-12-16 13:33:32)

Offline

#4 2018-12-19 23:36:20

osandov
Member
Registered: 2016-05-26
Posts: 1

Re: [SOLVED]unable to initialize decompress status for section .debug_info

I ran into this as well, and it appears to be a binutils bug which was exposed by a libelf change. So, it should be safe to update elfutils/libelf again once binutils 2.32 is released.

Offline

#5 2018-12-22 03:25:34

oz
Member
Registered: 2004-05-20
Posts: 94

Re: [SOLVED]unable to initialize decompress status for section .debug_info

Now my server is borked because I need to compile SCST for my diskless clients and it won't compile now. No machines on my network can boot!

Why was elfutils updated before binutils 2.32 was ready? This is crazy.

Edit:
OK, found the official archive to downgrade.

Last edited by oz (2018-12-22 03:31:17)

Offline

#6 2018-12-23 02:49:21

eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 2,853

Re: [SOLVED]unable to initialize decompress status for section .debug_info

oz wrote:

Now my server is borked because I need to compile SCST for my diskless clients and it won't compile now. No machines on my network can boot!

Why was elfutils updated before binutils 2.32 was ready? This is crazy.

Um, because there was a bug and it was only discovered after elfutils was updated, obviously. Sometimes bugs happen.

By the way, no one reported this bug while elfutils was in the testing repo, or I guess we wouldn't have moved it to core... It's regrettable that no one actually utilizing the specific compiler options that trigger this bug, was opting into the use of the testing repos in order to report the bug.

https://bugs.archlinux.org/task/61151


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#7 2018-12-26 07:01:30

anatolik
Developer
Registered: 2012-09-27
Posts: 437

Re: [SOLVED]unable to initialize decompress status for section .debug_info

You said that you have a problem compiling Linux sources.

So I checked out Linux master tree v4.20-2953-g5694cecdb092 at my up-to-date Arch machine with [testing] repo enabled.
then
zcat /proc/config.gz > .config
yes '' | make oldconfig
make -j8

and it compiled without any problems. So I am confused how did you able to trigger this problem.

Could you please provide step-by-step instructions to repro the issue?

Offline

#8 2018-12-26 15:07:33

eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 2,853

Re: [SOLVED]unable to initialize decompress status for section .debug_info

aleixrocks wrote:

Yes, I was building the kernel with CONFIG_DEBUG_INFO


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#9 2018-12-26 17:32:02

anatolik
Developer
Registered: 2012-09-27
Posts: 437

Re: [SOLVED]unable to initialize decompress status for section .debug_info

Awesome. Thank you for the help. A patched version of binutils been pushed to the testing repo. Please pull binutils update and see if it fixes the original issue.

Offline

#10 2019-02-15 09:01:51

lightsmile
Member
Registered: 2019-02-15
Posts: 1

Re: [SOLVED]unable to initialize decompress status for section .debug_info

osandov wrote:

I ran into this as well, and it appears to be a binutils bug which was exposed by a libelf change. So, it should be safe to update elfutils/libelf again once binutils 2.32 is released.

Thanks too much for osandov's reply, I have solved the problem by installing binutils-2.30

Last edited by lightsmile (2019-02-15 09:06:42)

Offline

#11 2019-02-15 14:45:01

anatolik
Developer
Registered: 2012-09-27
Posts: 437

Re: [SOLVED]unable to initialize decompress status for section .debug_info

lightsmile wrote:

Thanks too much for osandov's reply, I have solved the problem by installing binutils-2.30


https://bugs.archlinux.org/task/61151 bug is fixed so you don't need to downgrade binutils anymore.

Offline

#12 2019-02-17 23:21:35

fx101
Member
Registered: 2013-12-28
Posts: 8

Re: [SOLVED]unable to initialize decompress status for section .debug_info

@anatolik this is not fixed, actually. I still get the same issue with libelf-0.175-1, elfutils-0.175-1, and binutils-2.31.1-4.

Offline

#13 2019-02-17 23:50:01

loqs
Member
Registered: 2014-03-06
Posts: 9,080

Re: [SOLVED]unable to initialize decompress status for section .debug_info

@fx101 why did you not request https://bugs.archlinux.org/task/61151 be reopened?
I have just  built 4.20.10 with CONFIG_DEBUG_INFO enabled all dependent options left as default without encountering the issue.

Offline

#14 2019-03-08 21:55:54

sobota
Member
Registered: 2012-04-05
Posts: 31

Re: [SOLVED]unable to initialize decompress status for section .debug_info

I encounter this problem during installation of python package, solve this problem by:

sudo pacman -U https://archive.archlinux.org/packages/e/elfutils/elfutils-0.174-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/libelf-0.174-1-x86_64.pkg.tar.xz
sudo pacman -U https://archive.archlinux.org/packages/b/binutils/binutils-2.30-5-x86_64.pkg.tar.xz 

Last edited by sobota (2019-03-08 21:56:52)

Offline

#15 2019-03-08 22:48:05

loqs
Member
Registered: 2014-03-06
Posts: 9,080

Re: [SOLVED]unable to initialize decompress status for section .debug_info

sobota wrote:

I encounter this problem during installation of python package

What command were you using to install the python package and what output did it produce?

Offline

#16 2019-03-09 20:12:26

Ekami
Member
Registered: 2019-03-09
Posts: 2

Re: [SOLVED]unable to initialize decompress status for section .debug_info

I'm affected by the same issue, using:

sudo pacman -U https://archive.archlinux.org/packages/e/elfutils/elfutils-0.174-1-x86_64.pkg.tar.xz https://archive.archlinux.org/packages/l/libelf/libelf-0.174-1-x86_64.pkg.tar.xz
sudo pacman -U https://archive.archlinux.org/packages/b/binutils/binutils-2.30-5-x86_64.pkg.tar.xz 

Also helped me solve this issue

Last edited by Ekami (2019-03-31 16:59:45)

Offline

#17 2019-03-30 21:53:22

hhatefi
Member
Registered: 2019-03-30
Posts: 1

Re: [SOLVED]unable to initialize decompress status for section .debug_info

I had the same issue while running:

pip install ujson

The problem solved by downgrading binutils.

Offline

#18 2019-07-25 04:11:27

Ekami
Member
Registered: 2019-03-09
Posts: 2

Re: [SOLVED]unable to initialize decompress status for section .debug_info

New links:

sudo pacman -U http://archlinux.arkena.net/archive/packages/e/elfutils/elfutils-0.174-1-x86_64.pkg.tar.xz http://archlinux.arkena.net/archive/packages/l/libelf/libelf-0.174-1-x86_64.pkg.tar.xz
sudo pacman -U http://archlinux.arkena.net/archive/packages/b/binutils/binutils-2.30-5-x86_64.pkg.tar.xz

Offline

#19 2019-07-25 04:17:08

anatolik
Developer
Registered: 2012-09-27
Posts: 437

Re: [SOLVED]unable to initialize decompress status for section .debug_info

Why do you want to use the third-party binaries if the official Arch version already fixed this issue long time ago?

Offline

#20 2019-09-19 01:50:32

shilka
Member
Registered: 2014-08-30
Posts: 10

Re: [SOLVED]unable to initialize decompress status for section .debug_info

anatolik wrote:

Why do you want to use the third-party binaries if the official Arch version already fixed this issue long time ago?

Actually not, I meet the same bug when compiling the python wrapper of ta-lib on binutils 2.32-2, but binutils 2.30 works fine. May be we should reopen the closed bug report?

Last edited by shilka (2019-09-19 01:55:06)

Offline

#21 2019-09-19 02:23:15

loqs
Member
Registered: 2014-03-06
Posts: 9,080

Re: [SOLVED]unable to initialize decompress status for section .debug_info

@shika can you please provide detailed instructions to reproduce the issue.

Offline

#22 2019-09-19 07:00:25

shilka
Member
Registered: 2014-08-30
Posts: 10

Re: [SOLVED]unable to initialize decompress status for section .debug_info

@loqs Of course, first install aur/ta-lib, then using "pip install TA-Lib" install the python wrapper. pip would automatically compiling source files and after a while you would catch the error message like "........o: file format not recognized ".

btw. I'm on Arch x86_64, using python3.7 in anaconda environment.

The detail of this problem could be found at:
https://github.com/mrjbq7/ta-lib/issues/260

Last edited by shilka (2019-09-19 07:41:29)

Offline

#23 2019-09-19 07:05:07

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 28,123
Website

Re: [SOLVED]unable to initialize decompress status for section .debug_info

shilka: none of this has anything to do with pacman or the Arch repos...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#24 2019-09-19 07:29:57

shilka
Member
Registered: 2014-08-30
Posts: 10

Re: [SOLVED]unable to initialize decompress status for section .debug_info

@jasonwryan yep, but it do caused by the binutils's update.

Offline

#25 2019-09-19 08:02:55

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 28,123
Website

Re: [SOLVED]unable to initialize decompress status for section .debug_info

Nope: you are using AUR and Pip.


Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB