Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #62203 > unrolled thread
| Started by | sixerjman <sixerjman@gmail.com> |
|---|---|
| First post | 2018-09-21 14:40 +0200 |
| Last post | 2018-09-21 14:40 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.debian.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Bug#909260: make deb-pkg output shows fixdep compile / link failure occurs in objtool sixerjman <sixerjman@gmail.com> - 2018-09-21 14:40 +0200
| From | sixerjman <sixerjman@gmail.com> |
|---|---|
| Date | 2018-09-21 14:40 +0200 |
| Subject | Bug#909260: make deb-pkg output shows fixdep compile / link failure occurs in objtool |
| Message-ID | <wAsT0-8e2-3@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
There are two fixdep.c files, one in basic scripts and the other in tools. I exported gcc option '-fPIC' in an attempt to get past the linker error, and it was in effect for the basic script, but was not passed to the tools script. The follow output is from a log of the build process: grep fixdep make-kernel.log gcc -Wp,-MD,scripts/basic/.fixdep.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 -fPIC -o scripts/basic/fixdep scripts/basic/fixdep.c ... (build proceeds) make -C /usr/src/linux-source-4.18/tools/build CFLAGS= LDFLAGS= /usr/src/linux-source-4.18/tools/objtool/fixdep HOSTCC /usr/src/linux-source-4.18/tools/objtool/fixdep.o HOSTLD /usr/src/linux-source-4.18/tools/objtool/fixdep-in.o LINK /usr/src/linux-source-4.18/tools/objtool/fixdep /usr/bin/ld: /usr/src/linux-source-4.18/tools/objtool/fixdep-in.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC make[6]: *** [Makefile:46: /usr/src/linux-source-4.18/tools/objtool/fixdep] Error 1 make[5]: *** [/usr/src/linux-source-4.18/tools/build/Makefile.include:4: fixdep] Error 2
Back to top | Article view | linux.debian.kernel
csiph-web