please help me compile gimp
This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.
This is a read-only list on gimpusers.com so this discussion thread is read-only, too.
please help me compile gimp | Marco Ciampa via gimp-developer-list | 28 Jun 06:14 |
please help me compile gimp | Ell via gimp-developer-list | 28 Jun 08:16 |
please help me compile gimp | Marco Ciampa via gimp-developer-list | 28 Jun 09:27 |
please help me compile gimp | Shlomi Fish | 28 Jun 09:02 |
please help me compile gimp
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?
Marco Ciampa I know a joke about UDP, but you might not get it. ------------------------ GNU/Linux User #78271 FSFE fellow #364 ------------------------
please help me compile gimp
On June 28, 2019 9:14:14 AM GMT+02:00, Marco Ciampa via gimp-developer-list 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 2any 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
please help me compile gimp
Hi Marco,
On Fri, 28 Jun 2019 08:14:14 +0200 Marco Ciampa via gimp-developer-list 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
Try:
1. running git clean -dxf on all deps.
2. Rebuilding all deps
3. Running make without -j4.
Also see my script at https://github.com/shlomif/shlomif-computer-settings/blob/master/shlomif-settings/build-scripts/build/gimp-git-all-deps.bash
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 2any hint?
----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Free (Creative Commons) Music Downloads, Reviews and more - http://jamendo.com/ http://en.wikipedia.org/wiki/Evil redirects to XSLT. — http://www.shlomifish.org/humour/bits/facts/XSLT/ Please reply to list if it's a mailing list post - http://shlom.in/reply .
please help me compile gimp
On Fri, Jun 28, 2019 at 11:16:32AM +0300, Ell wrote:
On June 28, 2019 9:14:14 AM GMT+02:00, Marco Ciampa via gimp-developer-list 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
[...]
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.
Gotcha! MANY thanks, it was obvious (NOW) ... installed the right g++ and recompiled fixed it all...
Thanks again...
--
Marco Ciampa
I know a joke about UDP, but you might not get it.
------------------------
GNU/Linux User #78271 FSFE fellow #364
------------------------