mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] e2fsprogs: possibly broken when using OSELAS.Toolchain 2022.10.0
@ 2022-11-13 17:32 Felix Mellmann
  2022-11-13 21:07 ` Christian Melki
  2022-11-16  7:17 ` Michael Olbrich
  0 siblings, 2 replies; 12+ messages in thread
From: Felix Mellmann @ 2022-11-13 17:32 UTC (permalink / raw)
  To: ptxdist

Hi everyone,

I've just run into a linker problem when building e2fsprogs 1.46.5 using 
OSELAS.Toolchain 2022.10.0 (arm-v7a-linux-gnueabihf):


-------------------------
target: e2fsprogs.compile
-------------------------

make: Entering directory 
'/PTXdist/BSP/platform-imx6/build-target/e2fsprogs-1.46.5'
cd ./util ; make subst
make[1]: Entering directory 
'/PTXdist/BSP/platform-imx6/build-target/e2fsprogs-1.46.5/util'
     CREATE dirpaths.h
     CC subst.c
     LD subst
lto1: fatal error: bytecode stream in file 'subst.o' generated with LTO 
version 11.2 instead of the expected 11.3
compilation terminated.
lto-wrapper: fatal error: /usr/bin/gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:369: subst] Error 1
make[1]: Leaving directory 
'/PTXdist/BSP/platform-imx6/build-target/e2fsprogs-1.46.5/util'
make: *** [Makefile:194: util/subst] Error 2
make: Leaving directory 
'/PTXdist/BSP/platform-imx6/build-target/e2fsprogs-1.46.5'
make: *** 
[/usr/local/lib/ptxdist-2022.11.0/rules/post/ptxd_make_world_compile.make:20: 
/PTXdist/BSP/platform-imx6/state/e2fsprogs.compile] Error 2

The error vanishes if ./configure is called with "--disable-lto" instead 
of "--enable-lto".

As I'm no expert at this level, I hope anyone could put some hints about 
the issue.


Best regards,

Felix





^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-11-18  9:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-13 17:32 [ptxdist] e2fsprogs: possibly broken when using OSELAS.Toolchain 2022.10.0 Felix Mellmann
2022-11-13 21:07 ` Christian Melki
2022-11-14  9:05   ` Ladislav Michl
2022-11-16  7:17 ` Michael Olbrich
2022-11-16 14:08   ` Felix Mellmann
2022-11-16 17:40     ` Christian Melki
2022-11-17  7:45       ` Michael Olbrich
2022-11-17 14:51         ` Felix Mellmann
2022-11-17 14:52         ` Felix Mellmann
2022-11-17 15:05           ` Michael Olbrich
2022-11-17 17:15             ` Christian Melki
2022-11-17 17:50           ` Alexander Dahl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox