Re: please help me compile gimp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On June 28, 2019 9:14:14 AM GMT+02:00, Marco Ciampa via gimp-developer-list <gimp-developer-list@xxxxxxxxx> wrote:
>Hello devs,
>I'm very sorry to bother you,
>but I do not know what to do and who to ask,
>and it is definitely my fault...
>I messed up my distro deleting some packages I should not remove.
>(Ubuntu 18.04 64)
>Now it seems to work perfectly again after reinstall of those packages
>(all other apps and compilations work) but apparently something is
>wrong, 
>and gimp (2.10 from git) compilation don't work again...
>
>This is the output after a make clean ; make -j4
>
>ar: `u' modifier ignored since `D' is the default (see `U')
>/usr/bin/ld: core/libappcore.a(gimp-parallel.o): relocation R_X86_64_32
>against `.rodata.str1.1' can not be used when making a PIE object;
>recompile with -fPIC
>/usr/bin/ld: core/libappcore.a(gimpbrush-transform.o): relocation
>R_X86_64_32 against `.text' can not be used when making a PIE object;
>recompile with -fPIC
>/usr/bin/ld: core/libappcore.a(gimppickable-contiguous-region.o):
>relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
>making a PIE object; recompile with -fPIC
>/usr/bin/ld: paint/libapppaint.a(gimpbrushcore-loops.o): relocation
>R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE
>object; recompile with -fPIC
>/usr/bin/ld: paint/libapppaint.a(gimppaintcore-loops.o): relocation
>R_X86_64_32 against `.text' can not be used when making a PIE object;
>recompile with -fPIC
>/usr/bin/ld:
>operations/libappoperations.a(gimpoperationmaskcomponents.o):
>relocation R_X86_64_32 against `.bss' can not be used when making a PIE
>object; recompile with -fPIC
>/usr/bin/ld: gegl/libappgegl.a(gimp-gegl-loops.o): relocation
>R_X86_64_32 against `.text' can not be used when making a PIE object;
>recompile with -fPIC
>/usr/bin/ld: gegl/libappgegl.a(gimp-gegl-mask-combine.o): relocation
>R_X86_64_32S against `.rodata' can not be used when making a PIE
>object; recompile with -fPIC
>/usr/bin/ld: final link failed: Nonrepresentable section on output
>collect2: error: ld returned 1 exit status
>Makefile:1020: recipe for target 'gimp-console-2.10' failed
>make[3]: *** [gimp-console-2.10] Error 1
>make[3]: *** Attesa per i processi non terminati....
>/usr/bin/ld: core/libappcore.a(gimp-parallel.o): relocation R_X86_64_32
>against `.rodata.str1.1' can not be used when making a PIE object;
>recompile with -fPIC
>/usr/bin/ld: core/libappcore.a(gimpbrush-transform.o): relocation
>R_X86_64_32 against `.text' can not be used when making a PIE object;
>recompile with -fPIC
>/usr/bin/ld: core/libappcore.a(gimppickable-contiguous-region.o):
>relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
>making a PIE object; recompile with -fPIC
>/usr/bin/ld: paint/libapppaint.a(gimpbrushcore-loops.o): relocation
>R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE
>object; recompile with -fPIC
>/usr/bin/ld: paint/libapppaint.a(gimppaintcore-loops.o): relocation
>R_X86_64_32 against `.text' can not be used when making a PIE object;
>recompile with -fPIC
>/usr/bin/ld:
>operations/libappoperations.a(gimpoperationmaskcomponents.o):
>relocation R_X86_64_32 against `.bss' can not be used when making a PIE
>object; recompile with -fPIC
>/usr/bin/ld: gegl/libappgegl.a(gimp-gegl-loops.o): relocation
>R_X86_64_32 against `.text' can not be used when making a PIE object;
>recompile with -fPIC
>/usr/bin/ld: gegl/libappgegl.a(gimp-gegl-mask-combine.o): relocation
>R_X86_64_32S against `.rodata' can not be used when making a PIE
>object; recompile with -fPIC
>/usr/bin/ld: final link failed: Nonrepresentable section on output
>collect2: error: ld returned 1 exit status
>Makefile:1016: recipe for target 'gimp-2.10' failed
>make[3]: *** [gimp-2.10] Error 1
>make[3]: uscita dalla directory "/home/marco/git/gitlab/gnome/gimp/app"
>Makefile:1240: recipe for target 'all-recursive' failed
>make[2]: *** [all-recursive] Error 1
>make[2]: uscita dalla directory "/home/marco/git/gitlab/gnome/gimp/app"
>Makefile:852: recipe for target 'all-recursive' failed
>make[1]: *** [all-recursive] Error 1
>make[1]: uscita dalla directory "/home/marco/git/gitlab/gnome/gimp"
>Makefile:753: recipe for target 'all' failed
>make: *** [all] Error 2
>
>any hint?

These are all C++ files, so there seems to be a mismatch between your gcc and g++ options with regard to PIC (esp., your gcc might be newer than your g++).  Try reinstalling g++, and make a (fully) clean build of GIMP.

--
Ell
_______________________________________________
gimp-developer-list mailing list
List address:    gimp-developer-list@xxxxxxxxx
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list



[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux