* [Buildroot] logrotate error @ 2016-12-21 13:22 Linux User 2016-12-21 13:57 ` Thomas Petazzoni 0 siblings, 1 reply; 8+ messages in thread From: Linux User @ 2016-12-21 13:22 UTC (permalink / raw) To: buildroot Hello Guys, I enabled the logrotate package through the menuconfig, and my compilation breaks. Can someone pls shed some light. >>> logrotate 3.8.4 Extracting gzip -d -c /home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/dl/logrotate-3.8.4.tar.gz | tar --strip-components=1 -C /home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/build/logrotate-3.8.4 -xf - >>> logrotate 3.8.4 Patching package//logrotate >>> logrotate 3.8.4 Configuring >>> logrotate 3.8.4 Building /usr/bin/make -j9 CC="/home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/host/usr/bin/arm-linux-gnueabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -g3" LDFLAGS="/home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/host/usr/bin/arm-linux-gnueabihf-ld" -C /home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/build/logrotate-3.8.4 make[1]: Entering directory `/home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/build/logrotate-3.8.4' /home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/host/usr/bin/arm-linux-gnueabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -g3 -E -Wall -D_GNU_SOURCE -DLinux -DVERSION=\"3.8.4\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -M logrotate.c log.c config.c basenames.c > .depend /home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/host/usr/bin/arm-linux-gnueabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -g3 -Wall -D_GNU_SOURCE -DLinux -DVERSION=\"3.8.4\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -c -o logrotate.o logrotate.c /home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/host/usr/bin/arm-linux-gnueabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -g3 -Wall -D_GNU_SOURCE -DLinux -DVERSION=\"3.8.4\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -c -o log.o log.c /home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/host/usr/bin/arm-linux-gnueabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -g3 -Wall -D_GNU_SOURCE -DLinux -DVERSION=\"3.8.4\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -c -o config.o config.c /home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/host/usr/bin/arm-linux-gnueabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -g3 -Wall -D_GNU_SOURCE -DLinux -DVERSION=\"3.8.4\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -c -o basenames.o basenames.c echo "0" > ./test/test.ACL ; echo "0" > ./test/test.SELINUX ; /home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/host/usr/bin/arm-linux-gnueabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -g3 /home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/host/usr/bin/arm-linux-gnueabihf-ld logrotate.o log.o config.o basenames.o -lpopt -o logrotate /home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: warning: Cannot create .eh_frame_hdr section, --eh-frame-hdr ignored. /home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: unknown architecture of input file `/home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/host/usr/bin/arm-linux-gnueabihf-ld' is incompatible with arm output /home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: error in /home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/host/usr/bin/arm-linux-gnueabihf-ld(.eh_frame); no .eh_frame_hdr table will be created. collect2: error: ld returned 1 exit status make[1]: *** [logrotate] Error 1 make[1]: Leaving directory `/home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/build/logrotate-3.8.4' make: *** [/home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/build/logrotate-3.8.4/.stamp_built] Error 2 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161221/aeaee695/attachment.html> ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] logrotate error 2016-12-21 13:22 [Buildroot] logrotate error Linux User @ 2016-12-21 13:57 ` Thomas Petazzoni 2016-12-21 15:04 ` Linux User 0 siblings, 1 reply; 8+ messages in thread From: Thomas Petazzoni @ 2016-12-21 13:57 UTC (permalink / raw) To: buildroot Hello, On Wed, 21 Dec 2016 08:22:34 -0500, Linux User wrote: > I enabled the logrotate package through the menuconfig, and my compilation > breaks. Can someone pls shed some light. This type of error really smells like you did a first build, then changed your Buildroot configuration, and restarted the build, without doing a "make clean". Can you please check if you can reproduce after a "make clean all" ? In any case, please read https://buildroot.org/downloads/manual/manual.html#full-rebuild. Thanks! Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] logrotate error 2016-12-21 13:57 ` Thomas Petazzoni @ 2016-12-21 15:04 ` Linux User 2016-12-21 15:38 ` Linux User 0 siblings, 1 reply; 8+ messages in thread From: Linux User @ 2016-12-21 15:04 UTC (permalink / raw) To: buildroot Certainly I will give it a go and post my findings. Thanks Thomas. On Wed, Dec 21, 2016 at 8:57 AM, Thomas Petazzoni < thomas.petazzoni@free-electrons.com> wrote: > Hello, > > On Wed, 21 Dec 2016 08:22:34 -0500, Linux User wrote: > > > I enabled the logrotate package through the menuconfig, and my > compilation > > breaks. Can someone pls shed some light. > > This type of error really smells like you did a first build, then > changed your Buildroot configuration, and restarted the build, without > doing a "make clean". > > Can you please check if you can reproduce after a "make clean all" ? > > In any case, please read > https://buildroot.org/downloads/manual/manual.html#full-rebuild. > > Thanks! > > Thomas > -- > Thomas Petazzoni, CTO, Free Electrons > Embedded Linux and Kernel engineering > http://free-electrons.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161221/4897f419/attachment.html> ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] logrotate error 2016-12-21 15:04 ` Linux User @ 2016-12-21 15:38 ` Linux User 2016-12-21 15:53 ` Thomas Petazzoni 0 siblings, 1 reply; 8+ messages in thread From: Linux User @ 2016-12-21 15:38 UTC (permalink / raw) To: buildroot Hi Thomas, Same results. I did "make clean all", /home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: unknown architecture of input file `/home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/host/usr/bin/arm-linux-gnueabihf-ld' is incompatible with arm output /home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: error in /home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/host/usr/bin/arm-linux-gnueabihf-ld(.eh_frame); no .eh_frame_hdr table will be created. collect2: error: ld returned 1 exit status On Wed, Dec 21, 2016 at 10:04 AM, Linux User <newhorizons009@gmail.com> wrote: > Certainly I will give it a go and post my findings. Thanks Thomas. > > On Wed, Dec 21, 2016 at 8:57 AM, Thomas Petazzoni <thomas.petazzoni@free- > electrons.com> wrote: > >> Hello, >> >> On Wed, 21 Dec 2016 08:22:34 -0500, Linux User wrote: >> >> > I enabled the logrotate package through the menuconfig, and my >> compilation >> > breaks. Can someone pls shed some light. >> >> This type of error really smells like you did a first build, then >> changed your Buildroot configuration, and restarted the build, without >> doing a "make clean". >> >> Can you please check if you can reproduce after a "make clean all" ? >> >> In any case, please read >> https://buildroot.org/downloads/manual/manual.html#full-rebuild. >> >> Thanks! >> >> Thomas >> -- >> Thomas Petazzoni, CTO, Free Electrons >> Embedded Linux and Kernel engineering >> http://free-electrons.com >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161221/16348323/attachment.html> ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] logrotate error 2016-12-21 15:38 ` Linux User @ 2016-12-21 15:53 ` Thomas Petazzoni 2016-12-21 16:38 ` Linux User 0 siblings, 1 reply; 8+ messages in thread From: Thomas Petazzoni @ 2016-12-21 15:53 UTC (permalink / raw) To: buildroot Hello, On Wed, 21 Dec 2016 10:38:12 -0500, Linux User wrote: > Same results. I did "make clean all", > > /home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: > unknown architecture of input file > `/home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/host/usr/bin/arm-linux-gnueabihf-ld' > is incompatible with arm output > /home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: > error in > /home/user/PNC_Projects/TR3000/Firmware/Analog_IM/platforms/som/src/output/host/usr/bin/arm-linux-gnueabihf-ld(.eh_frame); > no .eh_frame_hdr table will be created. > collect2: error: ld returned 1 exit status OK. What is your Buildroot version and .config file? Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] logrotate error 2016-12-21 15:53 ` Thomas Petazzoni @ 2016-12-21 16:38 ` Linux User 2016-12-21 16:40 ` Thomas Petazzoni 0 siblings, 1 reply; 8+ messages in thread From: Linux User @ 2016-12-21 16:38 UTC (permalink / raw) To: buildroot Buildroot version is 2013.08.1 Config file is attached. On Wed, Dec 21, 2016 at 10:53 AM, Thomas Petazzoni < thomas.petazzoni@free-electrons.com> wrote: > Hello, > > On Wed, 21 Dec 2016 10:38:12 -0500, Linux User wrote: > > > Same results. I did "make clean all", > > > > /home/user/PNC_Projects/TR3000/Firmware/Analog_IM/ > platforms/som/src/output/host/opt/ext-toolchain/bin/../lib/ > gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: > > unknown architecture of input file > > `/home/user/PNC_Projects/TR3000/Firmware/Analog_IM/ > platforms/som/src/output/host/usr/bin/arm-linux-gnueabihf-ld' > > is incompatible with arm output > > /home/user/PNC_Projects/TR3000/Firmware/Analog_IM/ > platforms/som/src/output/host/opt/ext-toolchain/bin/../lib/ > gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: > > error in > > /home/user/PNC_Projects/TR3000/Firmware/Analog_IM/ > platforms/som/src/output/host/usr/bin/arm-linux-gnueabihf-ld(.eh_frame); > > no .eh_frame_hdr table will be created. > > collect2: error: ld returned 1 exit status > > OK. What is your Buildroot version and .config file? > > Thanks, > > Thomas > -- > Thomas Petazzoni, CTO, Free Electrons > Embedded Linux and Kernel engineering > http://free-electrons.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161221/e7b93a71/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: .config_br Type: application/octet-stream Size: 36967 bytes Desc: not available URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161221/e7b93a71/attachment.obj> ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] logrotate error 2016-12-21 16:38 ` Linux User @ 2016-12-21 16:40 ` Thomas Petazzoni 2016-12-21 16:59 ` Linux User 0 siblings, 1 reply; 8+ messages in thread From: Thomas Petazzoni @ 2016-12-21 16:40 UTC (permalink / raw) To: buildroot Hello, On Wed, 21 Dec 2016 11:38:50 -0500, Linux User wrote: > Buildroot version is 2013.08.1 > > Config file is attached. Sorry, but we are not going to support a Buildroot version as old as 2013.08. Most likely the problem has already been fixed since then. If you really want to have a fix for 2013.08, either you are on your own, or you should seek some commercial support. Best regards, Thomas Petazzoni -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] logrotate error 2016-12-21 16:40 ` Thomas Petazzoni @ 2016-12-21 16:59 ` Linux User 0 siblings, 0 replies; 8+ messages in thread From: Linux User @ 2016-12-21 16:59 UTC (permalink / raw) To: buildroot Can you pls give me some pointers as to where I would look, to fix it ? I would be willing to give it a go. On Wed, Dec 21, 2016 at 11:40 AM, Thomas Petazzoni < thomas.petazzoni@free-electrons.com> wrote: > Hello, > > On Wed, 21 Dec 2016 11:38:50 -0500, Linux User wrote: > > > Buildroot version is 2013.08.1 > > > > Config file is attached. > > Sorry, but we are not going to support a Buildroot version as old as > 2013.08. Most likely the problem has already been fixed since then. > > If you really want to have a fix for 2013.08, either you are on your > own, or you should seek some commercial support. > > Best regards, > > Thomas Petazzoni > -- > Thomas Petazzoni, CTO, Free Electrons > Embedded Linux and Kernel engineering > http://free-electrons.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161221/34d47800/attachment.html> ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2016-12-21 16:59 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-12-21 13:22 [Buildroot] logrotate error Linux User 2016-12-21 13:57 ` Thomas Petazzoni 2016-12-21 15:04 ` Linux User 2016-12-21 15:38 ` Linux User 2016-12-21 15:53 ` Thomas Petazzoni 2016-12-21 16:38 ` Linux User 2016-12-21 16:40 ` Thomas Petazzoni 2016-12-21 16:59 ` Linux User
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox