syslog-ng 3.7.x support on armv7 architecture
Hi All, Please let me know whether syslog-ng 3.7.x is supported on armv7 architecture. I went through the following link and found that armv7 is not listed https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-latest-g... 1.6. Supported platforms The syslog-ng Open Source Edition application is highly portable and is known to run on a wide range of hardware architectures (x86, x86_64, SUN Sparc, PowerPC 32 and 64, Alpha) Regards, Girish
Hi, currently we are not building syslog-ng on arm, but there was a blogpost about this topic (maybe not v7): https://czanik.blogs.balabit.com/2015/07/syslog-ng-on-64bit-arm/ regards, Laszlo Budai On Wed, Feb 10, 2016 at 12:25 PM, Girish Kumar < girish.kumar@al-enterprise.com> wrote:
Hi All,
Please let me know whether syslog-ng 3.7.x is supported on armv7 architecture.
I went through the following link and found that *armv7* is not listed
https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-latest-g...
*1.6. Supported platforms*
The syslog-ng Open Source Edition application is highly portable and is known to run on a wide range of hardware architectures *(x86, x86_64, SUN Sparc, PowerPC 32 and 64, Alpha)*
Regards,
Girish
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
Hi, The syslog-ng package is part of many distributions, including their ARM ports, and should work fine on anything ranging form ARMv6 (maybe earlier, but that's what I could test) to ARMv8. Bye, Peter Czanik (CzP) <peter.czanik@balabit.com> Balabit / syslog-ng upstream http://czanik.blogs.balabit.com/ https://twitter.com/PCzanik On Wed, Feb 10, 2016 at 12:34 PM, Budai, László <laszlo.budai@balabit.com> wrote:
Hi,
currently we are not building syslog-ng on arm, but there was a blogpost about this topic (maybe not v7):
https://czanik.blogs.balabit.com/2015/07/syslog-ng-on-64bit-arm/
regards, Laszlo Budai
On Wed, Feb 10, 2016 at 12:25 PM, Girish Kumar < girish.kumar@al-enterprise.com> wrote:
Hi All,
Please let me know whether syslog-ng 3.7.x is supported on armv7 architecture.
I went through the following link and found that *armv7* is not listed
https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-latest-g...
*1.6. Supported platforms*
The syslog-ng Open Source Edition application is highly portable and is known to run on a wide range of hardware architectures *(x86, x86_64, SUN Sparc, PowerPC 32 and 64, Alpha)*
Regards,
Girish
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
Hi Girish, Those architectures that are listed were known to work in specific points in time and are not guaranteed to remain so. Also, syslog-ng is an application written in C and is aimed to be portable to a number of architectures, which we also demonstrated in the amount of platforms that we support. On this community mailing list, all we can do is help you if you have specific questions/issues. This may or may not match your level of expectations, but we can only guarantee that we put "best effort" in answering your questions and no guarantees. Back to armv7, just like Peter Czanik has answered, we know about syslog-ng being used on this architecture, so it should theoretically be possible, but it's not something that the developers use every day, or which would be a primary platform (those being Linux distributions). The toolchain and the environment matters, syslog-ng depends on a number of external libraries (glib for example, which you had an issue with in the past), and we generally assume that those are present on the system already. That being said, Balabit does provide support for various platforms and as a commercial entity has the means and willingness to do testing in a wider variety of platforms and architectures. If you would like support guarantees, Balabit can most probably give that. The best course of action seems to be for you to: 1) continue your trial and error in compiling syslog-ng, and ask if there's a concrete issue. We will answer to the best of our ability. 2) try contacting Balabit sales if the response you get on this mailing list is not enough to get your issues resolved. I am really happy to help, just like I did in the past. Disclaimer: I am employed by Balabit (being the CTO there), however I wrote this email as a member of the open source syslog-ng community. I don't want to push anything here, the only reason I wrote this email is that I started sensing a mismatch of what the community can provide and what you can expect. I hope this helps, Bazsi -- Bazsi On Wed, Feb 10, 2016 at 12:25 PM, Girish Kumar < girish.kumar@al-enterprise.com> wrote:
Hi All,
Please let me know whether syslog-ng 3.7.x is supported on armv7 architecture.
I went through the following link and found that *armv7* is not listed
https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-latest-g...
*1.6. Supported platforms*
The syslog-ng Open Source Edition application is highly portable and is known to run on a wide range of hardware architectures *(x86, x86_64, SUN Sparc, PowerPC 32 and 64, Alpha)*
Regards,
Girish
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
Thank you all for the information. I will start working based on your suggestions. Please let me know which version of syslog-ng I should use. I downloaded both syslog-ng 3.7.2 and syslog-ng 3.6.4 I assume syslog-ng 3.6.4 is the stable version. Following website doesn’t have syslog-ng 3.7.2 https://my.balabit.com/downloads/syslog-ng/sources Regards, Girish From: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of Scheidler, Balázs Sent: Wednesday, February 10, 2016 6:02 PM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] syslog-ng 3.7.x support on armv7 architecture Hi Girish, Those architectures that are listed were known to work in specific points in time and are not guaranteed to remain so. Also, syslog-ng is an application written in C and is aimed to be portable to a number of architectures, which we also demonstrated in the amount of platforms that we support. On this community mailing list, all we can do is help you if you have specific questions/issues. This may or may not match your level of expectations, but we can only guarantee that we put "best effort" in answering your questions and no guarantees. Back to armv7, just like Peter Czanik has answered, we know about syslog-ng being used on this architecture, so it should theoretically be possible, but it's not something that the developers use every day, or which would be a primary platform (those being Linux distributions). The toolchain and the environment matters, syslog-ng depends on a number of external libraries (glib for example, which you had an issue with in the past), and we generally assume that those are present on the system already. That being said, Balabit does provide support for various platforms and as a commercial entity has the means and willingness to do testing in a wider variety of platforms and architectures. If you would like support guarantees, Balabit can most probably give that. The best course of action seems to be for you to: 1) continue your trial and error in compiling syslog-ng, and ask if there's a concrete issue. We will answer to the best of our ability. 2) try contacting Balabit sales if the response you get on this mailing list is not enough to get your issues resolved. I am really happy to help, just like I did in the past. Disclaimer: I am employed by Balabit (being the CTO there), however I wrote this email as a member of the open source syslog-ng community. I don't want to push anything here, the only reason I wrote this email is that I started sensing a mismatch of what the community can provide and what you can expect. I hope this helps, Bazsi -- Bazsi On Wed, Feb 10, 2016 at 12:25 PM, Girish Kumar <girish.kumar@al-enterprise.com<mailto:girish.kumar@al-enterprise.com>> wrote: Hi All, Please let me know whether syslog-ng 3.7.x is supported on armv7 architecture. I went through the following link and found that armv7 is not listed https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-latest-g... 1.6. Supported platforms The syslog-ng Open Source Edition application is highly portable and is known to run on a wide range of hardware architectures (x86, x86_64, SUN Sparc, PowerPC 32 and 64, Alpha) Regards, Girish ______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
Hi, Starting with syslog-ng 3.7, sources are only published on github. This is the current stable version, 3.8 is the current development version, which is now git head. BTW: could you write about your use case? On which ARMv7 hardware do you use syslog-ng? How do you (plan to) use it? (I'm an ARM addict, running syslog-ng on the Raspberry Pi2) Bye, Peter Czanik (CzP) <peter.czanik@balabit.com> Balabit / syslog-ng upstream http://czanik.blogs.balabit.com/ https://twitter.com/PCzanik On Fri, Feb 12, 2016 at 7:31 AM, Girish Kumar <girish.kumar@al-enterprise.com> wrote:
Thank you all for the information. I will start working based on your suggestions.
Please let me know which version of syslog-ng I should use. I downloaded both syslog-ng 3.7.2 and syslog-ng 3.6.4
I assume syslog-ng 3.6.4 is the stable version. Following website doesn’t have syslog-ng 3.7.2
https://my.balabit.com/downloads/syslog-ng/sources
Regards,
Girish
From: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of Scheidler, Balázs Sent: Wednesday, February 10, 2016 6:02 PM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] syslog-ng 3.7.x support on armv7 architecture
Hi Girish,
Those architectures that are listed were known to work in specific points in time and are not guaranteed to remain so. Also, syslog-ng is an application written in C and is aimed to be portable to a number of architectures, which we also demonstrated in the amount of platforms that we support.
On this community mailing list, all we can do is help you if you have specific questions/issues. This may or may not match your level of expectations, but we can only guarantee that we put "best effort" in answering your questions and no guarantees.
Back to armv7, just like Peter Czanik has answered, we know about syslog-ng being used on this architecture, so it should theoretically be possible, but it's not something that the developers use every day, or which would be a primary platform (those being Linux distributions).
The toolchain and the environment matters, syslog-ng depends on a number of external libraries (glib for example, which you had an issue with in the past), and we generally assume that those are present on the system already.
That being said, Balabit does provide support for various platforms and as a commercial entity has the means and willingness to do testing in a wider variety of platforms and architectures. If you would like support guarantees, Balabit can most probably give that.
The best course of action seems to be for you to:
1) continue your trial and error in compiling syslog-ng, and ask if there's a concrete issue. We will answer to the best of our ability.
2) try contacting Balabit sales if the response you get on this mailing list is not enough to get your issues resolved.
I am really happy to help, just like I did in the past.
Disclaimer: I am employed by Balabit (being the CTO there), however I wrote this email as a member of the open source syslog-ng community. I don't want to push anything here, the only reason I wrote this email is that I started sensing a mismatch of what the community can provide and what you can expect.
I hope this helps,
Bazsi
-- Bazsi
On Wed, Feb 10, 2016 at 12:25 PM, Girish Kumar <girish.kumar@al-enterprise.com> wrote:
Hi All,
Please let me know whether syslog-ng 3.7.x is supported on armv7 architecture.
I went through the following link and found that armv7 is not listed
https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-latest-g...
1.6. Supported platforms
The syslog-ng Open Source Edition application is highly portable and is known to run on a wide range of hardware architectures (x86, x86_64, SUN Sparc, PowerPC 32 and 64, Alpha)
Regards,
Girish
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
Thanks Peter. I started using syslog-ng 3.7.2. Armv7 hardware is BCM56340(Helix4) from broadcom My requirement is sending syslog messages over TLS to remote server. My compilation went fine for power pc architecture. But for ARMv7 I am having problem as I mentioned earlier. Following is the error. As other community friends suggested to I tried setting magic CFLAGS and LDFLAGS. But could not succeed. Could you please share your experience. CC lib/lib_libsyslog_ng_la-mainloop-call.lo /tmp/ccChQOWy.s: Assembler messages: /tmp/ccChQOWy.s:260: Error: invalid operands (.text and *UND* sections) for `-' /tmp/ccChQOWy.s:269: Error: invalid operands (.text and *UND* sections) for `-' make[4]: *** [lib/lib_libsyslog_ng_la-mainloop-call.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/objs/46/7.X.X.R01/armv7/syslog-ng' make[2]: Entering directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/objs/46/7.X.X.R01/armv7/syslog-ng' make --no-print-directory install-recursive CC lib/lib_libsyslog_ng_la-mainloop-call.lo /tmp/cc0N5KS5.s: Assembler messages: /tmp/cc0N5KS5.s:260: Error: invalid operands (.text and *UND* sections) for `-' /tmp/cc0N5KS5.s:269: Error: invalid operands (.text and *UND* sections) for `-' make[4]: *** [lib/lib_libsyslog_ng_la-mainloop-call.lo] Error 1 make[3]: *** [install-recursive] Error 1 make[2]: *** [install] Error 2 make[2]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/objs/46/7.X.X.R01/armv7/syslog-ng' make[1]: *** [/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/built/46/7.X.X.R01/armv7/sbin/syslog-ng] Error 2 make[1]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps' make: *** [tps-build] Error 2 + set +x Regards, Girish -----Original Message----- From: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of Czanik, Péter Sent: Friday, February 12, 2016 12:15 PM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] syslog-ng 3.7.x support on armv7 architecture Hi, Starting with syslog-ng 3.7, sources are only published on github. This is the current stable version, 3.8 is the current development version, which is now git head. BTW: could you write about your use case? On which ARMv7 hardware do you use syslog-ng? How do you (plan to) use it? (I'm an ARM addict, running syslog-ng on the Raspberry Pi2) Bye, Peter Czanik (CzP) <peter.czanik@balabit.com> Balabit / syslog-ng upstream http://czanik.blogs.balabit.com/ https://twitter.com/PCzanik On Fri, Feb 12, 2016 at 7:31 AM, Girish Kumar <girish.kumar@al-enterprise.com> wrote:
Thank you all for the information. I will start working based on your suggestions.
Please let me know which version of syslog-ng I should use. I downloaded both syslog-ng 3.7.2 and syslog-ng 3.6.4
I assume syslog-ng 3.6.4 is the stable version. Following website doesn’t have syslog-ng 3.7.2
https://my.balabit.com/downloads/syslog-ng/sources
Regards,
Girish
From: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of Scheidler, Balázs Sent: Wednesday, February 10, 2016 6:02 PM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] syslog-ng 3.7.x support on armv7 architecture
Hi Girish,
Those architectures that are listed were known to work in specific points in time and are not guaranteed to remain so. Also, syslog-ng is an application written in C and is aimed to be portable to a number of architectures, which we also demonstrated in the amount of platforms that we support.
On this community mailing list, all we can do is help you if you have specific questions/issues. This may or may not match your level of expectations, but we can only guarantee that we put "best effort" in answering your questions and no guarantees.
Back to armv7, just like Peter Czanik has answered, we know about syslog-ng being used on this architecture, so it should theoretically be possible, but it's not something that the developers use every day, or which would be a primary platform (those being Linux distributions).
The toolchain and the environment matters, syslog-ng depends on a number of external libraries (glib for example, which you had an issue with in the past), and we generally assume that those are present on the system already.
That being said, Balabit does provide support for various platforms and as a commercial entity has the means and willingness to do testing in a wider variety of platforms and architectures. If you would like support guarantees, Balabit can most probably give that.
The best course of action seems to be for you to:
1) continue your trial and error in compiling syslog-ng, and ask if there's a concrete issue. We will answer to the best of our ability.
2) try contacting Balabit sales if the response you get on this mailing list is not enough to get your issues resolved.
I am really happy to help, just like I did in the past.
Disclaimer: I am employed by Balabit (being the CTO there), however I wrote this email as a member of the open source syslog-ng community. I don't want to push anything here, the only reason I wrote this email is that I started sensing a mismatch of what the community can provide and what you can expect.
I hope this helps,
Bazsi
-- Bazsi
On Wed, Feb 10, 2016 at 12:25 PM, Girish Kumar <girish.kumar@al-enterprise.com> wrote:
Hi All,
Please let me know whether syslog-ng 3.7.x is supported on armv7 architecture.
I went through the following link and found that armv7 is not listed
https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-la test-guides/en/syslog-ng-ose-guide-admin/html/supported-platforms.html
1.6. Supported platforms
The syslog-ng Open Source Edition application is highly portable and is known to run on a wide range of hardware architectures (x86, x86_64, SUN Sparc, PowerPC 32 and 64, Alpha)
Regards,
Girish
______________________________________________________________________ ________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________ ________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
Hi, I never did cross compiling, so I can't help you in that one, but compiling nativity on a Raspberry Pi 2 using an up-to-date Raspbian as OS worked fine. First I installed all development dependencies, downloaded an unpacked sources. Next I ran configure with python support disabled (did not have time to debug why configure failed to find python, but most likely you don't need it anyway in an embedded environment). Next I built it and ran make check to see if self check succeeds. Everything was all right. Make install put the whole thing under /usr/local. As it's the only software there, it's easy to remove it using 'find /usr/local -type f -delete' :) apt-get install gcc make flex bison libssl-dev libglib2.0-dev autoconf libtool libevtlog-dev libjson0-dev wget https://github.com/balabit/syslog-ng/releases/download/syslog-ng-3.7.2/syslo... tar xzvpf syslog-ng-3.7.2.tar.gz cd syslog-ng-3.7.2 ./configure --disable-python make make check make install root@raspberrypi:/home/pi/syslog-ng-3.7.2# uname -a Linux raspberrypi 4.1.13-v7+ #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015 armv7l GNU/Linux root@raspberrypi:/home/pi/syslog-ng-3.7.2# /usr/local/sbin/syslog-ng -V syslog-ng 3.7.2 Installer-Version: 3.7.2 Revision: Compile-Date: Feb 14 2016 17:55:46 Available-Modules: basicfuncs,pseudofile,csvparser,affile,kvformat,json-plugin,afamqp,afprog,syslogformat,afuser,graphite,confgen,afstomp,cryptofuncs,afmongodb,afsocket,linux-kmsg-format,system-source,dbparser,sdjournal Enable-Debug: off Enable-GProf: off Enable-Memtrace: off Enable-IPv6: on Enable-Spoof-Source: off Enable-TCP-Wrapper: off Enable-Linux-Caps: off All of this is documented at https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.7-guid... Bye, Peter Czanik (CzP) <peter.czanik@balabit.com> Balabit / syslog-ng upstream http://czanik.blogs.balabit.com/ https://twitter.com/PCzanik On Sun, Feb 14, 2016 at 10:34 AM, Girish Kumar < girish.kumar@al-enterprise.com> wrote:
Thanks Peter. I started using syslog-ng 3.7.2.
Armv7 hardware is BCM56340(Helix4) from broadcom My requirement is sending syslog messages over TLS to remote server. My compilation went fine for power pc architecture. But for ARMv7 I am having problem as I mentioned earlier.
Following is the error. As other community friends suggested to I tried setting magic CFLAGS and LDFLAGS. But could not succeed. Could you please share your experience.
CC lib/lib_libsyslog_ng_la-mainloop-call.lo /tmp/ccChQOWy.s: Assembler messages: /tmp/ccChQOWy.s:260: Error: invalid operands (.text and *UND* sections) for `-' /tmp/ccChQOWy.s:269: Error: invalid operands (.text and *UND* sections) for `-' make[4]: *** [lib/lib_libsyslog_ng_la-mainloop-call.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/objs/46/7.X.X.R01/armv7/syslog-ng' make[2]: Entering directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/objs/46/7.X.X.R01/armv7/syslog-ng' make --no-print-directory install-recursive CC lib/lib_libsyslog_ng_la-mainloop-call.lo /tmp/cc0N5KS5.s: Assembler messages: /tmp/cc0N5KS5.s:260: Error: invalid operands (.text and *UND* sections) for `-' /tmp/cc0N5KS5.s:269: Error: invalid operands (.text and *UND* sections) for `-' make[4]: *** [lib/lib_libsyslog_ng_la-mainloop-call.lo] Error 1 make[3]: *** [install-recursive] Error 1 make[2]: *** [install] Error 2 make[2]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/objs/46/7.X.X.R01/armv7/syslog-ng' make[1]: *** [/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/built/46/7.X.X.R01/armv7/sbin/syslog-ng] Error 2 make[1]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps' make: *** [tps-build] Error 2 + set +x
Regards, Girish
-----Original Message----- From: syslog-ng-bounces@lists.balabit.hu [mailto: syslog-ng-bounces@lists.balabit.hu] On Behalf Of Czanik, Péter Sent: Friday, February 12, 2016 12:15 PM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] syslog-ng 3.7.x support on armv7 architecture
Hi,
Starting with syslog-ng 3.7, sources are only published on github. This is the current stable version, 3.8 is the current development version, which is now git head.
BTW: could you write about your use case? On which ARMv7 hardware do you use syslog-ng? How do you (plan to) use it? (I'm an ARM addict, running syslog-ng on the Raspberry Pi2)
Bye, Peter Czanik (CzP) <peter.czanik@balabit.com> Balabit / syslog-ng upstream http://czanik.blogs.balabit.com/ https://twitter.com/PCzanik
On Fri, Feb 12, 2016 at 7:31 AM, Girish Kumar < girish.kumar@al-enterprise.com> wrote:
Thank you all for the information. I will start working based on your suggestions.
Please let me know which version of syslog-ng I should use. I downloaded both syslog-ng 3.7.2 and syslog-ng 3.6.4
I assume syslog-ng 3.6.4 is the stable version. Following website doesn’t have syslog-ng 3.7.2
https://my.balabit.com/downloads/syslog-ng/sources
Regards,
Girish
From: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of Scheidler, Balázs Sent: Wednesday, February 10, 2016 6:02 PM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] syslog-ng 3.7.x support on armv7 architecture
Hi Girish,
Those architectures that are listed were known to work in specific points in time and are not guaranteed to remain so. Also, syslog-ng is an application written in C and is aimed to be portable to a number of architectures, which we also demonstrated in the amount of platforms that we support.
On this community mailing list, all we can do is help you if you have specific questions/issues. This may or may not match your level of expectations, but we can only guarantee that we put "best effort" in answering your questions and no guarantees.
Back to armv7, just like Peter Czanik has answered, we know about syslog-ng being used on this architecture, so it should theoretically be possible, but it's not something that the developers use every day, or which would be a primary platform (those being Linux distributions).
The toolchain and the environment matters, syslog-ng depends on a number of external libraries (glib for example, which you had an issue with in the past), and we generally assume that those are present on the system already.
That being said, Balabit does provide support for various platforms and as a commercial entity has the means and willingness to do testing in a wider variety of platforms and architectures. If you would like support guarantees, Balabit can most probably give that.
The best course of action seems to be for you to:
1) continue your trial and error in compiling syslog-ng, and ask if there's a concrete issue. We will answer to the best of our ability.
2) try contacting Balabit sales if the response you get on this mailing list is not enough to get your issues resolved.
I am really happy to help, just like I did in the past.
Disclaimer: I am employed by Balabit (being the CTO there), however I wrote this email as a member of the open source syslog-ng community. I don't want to push anything here, the only reason I wrote this email is that I started sensing a mismatch of what the community can provide and what you can expect.
I hope this helps,
Bazsi
-- Bazsi
On Wed, Feb 10, 2016 at 12:25 PM, Girish Kumar <girish.kumar@al-enterprise.com> wrote:
Hi All,
Please let me know whether syslog-ng 3.7.x is supported on armv7 architecture.
I went through the following link and found that armv7 is not listed
https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-la test-guides/en/syslog-ng-ose-guide-admin/html/supported-platforms.html
1.6. Supported platforms
The syslog-ng Open Source Edition application is highly portable and is known to run on a wide range of hardware architectures (x86, x86_64, SUN Sparc, PowerPC 32 and 64, Alpha)
Regards,
Girish
______________________________________________________________________ ________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________ ________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
Thanks Czanik for detailed information. I have included following libraries . Please let me know if this is ok. I have not included libjson. · EVTLOG · GLIB · PCRE · OPENSSL Since my requirement is sending syslog log messages over TLS and it is on embedded systems I have to include minimum number of libraries. Please let me know if any of the libraries can be removed Regards, Girish From: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of Czanik, Péter Sent: Monday, February 15, 2016 12:59 AM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] syslog-ng 3.7.x support on armv7 architecture Hi, I never did cross compiling, so I can't help you in that one, but compiling nativity on a Raspberry Pi 2 using an up-to-date Raspbian as OS worked fine. First I installed all development dependencies, downloaded an unpacked sources. Next I ran configure with python support disabled (did not have time to debug why configure failed to find python, but most likely you don't need it anyway in an embedded environment). Next I built it and ran make check to see if self check succeeds. Everything was all right. Make install put the whole thing under /usr/local. As it's the only software there, it's easy to remove it using 'find /usr/local -type f -delete' :) apt-get install gcc make flex bison libssl-dev libglib2.0-dev autoconf libtool libevtlog-dev libjson0-dev wget https://github.com/balabit/syslog-ng/releases/download/syslog-ng-3.7.2/syslo... tar xzvpf syslog-ng-3.7.2.tar.gz cd syslog-ng-3.7.2 ./configure --disable-python make make check make install root@raspberrypi:/home/pi/syslog-ng-3.7.2#<mailto:root@raspberrypi:/home/pi/syslog-ng-3.7.2#> uname -a Linux raspberrypi 4.1.13-v7+ #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015 armv7l GNU/Linux root@raspberrypi:/home/pi/syslog-ng-3.7.2#<mailto:root@raspberrypi:/home/pi/syslog-ng-3.7.2#> /usr/local/sbin/syslog-ng -V syslog-ng 3.7.2 Installer-Version: 3.7.2 Revision: Compile-Date: Feb 14 2016 17:55:46 Available-Modules: basicfuncs,pseudofile,csvparser,affile,kvformat,json-plugin,afamqp,afprog,syslogformat,afuser,graphite,confgen,afstomp,cryptofuncs,afmongodb,afsocket,linux-kmsg-format,system-source,dbparser,sdjournal Enable-Debug: off Enable-GProf: off Enable-Memtrace: off Enable-IPv6: on Enable-Spoof-Source: off Enable-TCP-Wrapper: off Enable-Linux-Caps: off All of this is documented at https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.7-guid... Bye, Peter Czanik (CzP) <peter.czanik@balabit.com<mailto:peter.czanik@balabit.com>> Balabit / syslog-ng upstream http://czanik.blogs.balabit.com/ https://twitter.com/PCzanik On Sun, Feb 14, 2016 at 10:34 AM, Girish Kumar <girish.kumar@al-enterprise.com<mailto:girish.kumar@al-enterprise.com>> wrote: Thanks Peter. I started using syslog-ng 3.7.2. Armv7 hardware is BCM56340(Helix4) from broadcom My requirement is sending syslog messages over TLS to remote server. My compilation went fine for power pc architecture. But for ARMv7 I am having problem as I mentioned earlier. Following is the error. As other community friends suggested to I tried setting magic CFLAGS and LDFLAGS. But could not succeed. Could you please share your experience. CC lib/lib_libsyslog_ng_la-mainloop-call.lo /tmp/ccChQOWy.s: Assembler messages: /tmp/ccChQOWy.s:260: Error: invalid operands (.text and *UND* sections) for `-' /tmp/ccChQOWy.s:269: Error: invalid operands (.text and *UND* sections) for `-' make[4]: *** [lib/lib_libsyslog_ng_la-mainloop-call.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/objs/46/7.X.X.R01/armv7/syslog-ng' make[2]: Entering directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/objs/46/7.X.X.R01/armv7/syslog-ng' make --no-print-directory install-recursive CC lib/lib_libsyslog_ng_la-mainloop-call.lo /tmp/cc0N5KS5.s: Assembler messages: /tmp/cc0N5KS5.s:260: Error: invalid operands (.text and *UND* sections) for `-' /tmp/cc0N5KS5.s:269: Error: invalid operands (.text and *UND* sections) for `-' make[4]: *** [lib/lib_libsyslog_ng_la-mainloop-call.lo] Error 1 make[3]: *** [install-recursive] Error 1 make[2]: *** [install] Error 2 make[2]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/objs/46/7.X.X.R01/armv7/syslog-ng' make[1]: *** [/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/built/46/7.X.X.R01/armv7/sbin/syslog-ng] Error 2 make[1]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps' make: *** [tps-build] Error 2 + set +x Regards, Girish -----Original Message----- From: syslog-ng-bounces@lists.balabit.hu<mailto:syslog-ng-bounces@lists.balabit.hu> [mailto:syslog-ng-bounces@lists.balabit.hu<mailto:syslog-ng-bounces@lists.balabit.hu>] On Behalf Of Czanik, Péter Sent: Friday, February 12, 2016 12:15 PM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] syslog-ng 3.7.x support on armv7 architecture Hi, Starting with syslog-ng 3.7, sources are only published on github. This is the current stable version, 3.8 is the current development version, which is now git head. BTW: could you write about your use case? On which ARMv7 hardware do you use syslog-ng? How do you (plan to) use it? (I'm an ARM addict, running syslog-ng on the Raspberry Pi2) Bye, Peter Czanik (CzP) <peter.czanik@balabit.com<mailto:peter.czanik@balabit.com>> Balabit / syslog-ng upstream http://czanik.blogs.balabit.com/ https://twitter.com/PCzanik On Fri, Feb 12, 2016 at 7:31 AM, Girish Kumar <girish.kumar@al-enterprise.com<mailto:girish.kumar@al-enterprise.com>> wrote:
Thank you all for the information. I will start working based on your suggestions.
Please let me know which version of syslog-ng I should use. I downloaded both syslog-ng 3.7.2 and syslog-ng 3.6.4
I assume syslog-ng 3.6.4 is the stable version. Following website doesn’t have syslog-ng 3.7.2
https://my.balabit.com/downloads/syslog-ng/sources
Regards,
Girish
From: syslog-ng-bounces@lists.balabit.hu<mailto:syslog-ng-bounces@lists.balabit.hu> [mailto:syslog-ng-bounces@lists.balabit.hu<mailto:syslog-ng-bounces@lists.balabit.hu>] On Behalf Of Scheidler, Balázs Sent: Wednesday, February 10, 2016 6:02 PM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] syslog-ng 3.7.x support on armv7 architecture
Hi Girish,
Those architectures that are listed were known to work in specific points in time and are not guaranteed to remain so. Also, syslog-ng is an application written in C and is aimed to be portable to a number of architectures, which we also demonstrated in the amount of platforms that we support.
On this community mailing list, all we can do is help you if you have specific questions/issues. This may or may not match your level of expectations, but we can only guarantee that we put "best effort" in answering your questions and no guarantees.
Back to armv7, just like Peter Czanik has answered, we know about syslog-ng being used on this architecture, so it should theoretically be possible, but it's not something that the developers use every day, or which would be a primary platform (those being Linux distributions).
The toolchain and the environment matters, syslog-ng depends on a number of external libraries (glib for example, which you had an issue with in the past), and we generally assume that those are present on the system already.
That being said, Balabit does provide support for various platforms and as a commercial entity has the means and willingness to do testing in a wider variety of platforms and architectures. If you would like support guarantees, Balabit can most probably give that.
The best course of action seems to be for you to:
1) continue your trial and error in compiling syslog-ng, and ask if there's a concrete issue. We will answer to the best of our ability.
2) try contacting Balabit sales if the response you get on this mailing list is not enough to get your issues resolved.
I am really happy to help, just like I did in the past.
Disclaimer: I am employed by Balabit (being the CTO there), however I wrote this email as a member of the open source syslog-ng community. I don't want to push anything here, the only reason I wrote this email is that I started sensing a mismatch of what the community can provide and what you can expect.
I hope this helps,
Bazsi
-- Bazsi
On Wed, Feb 10, 2016 at 12:25 PM, Girish Kumar <girish.kumar@al-enterprise.com<mailto:girish.kumar@al-enterprise.com>> wrote:
Hi All,
Please let me know whether syslog-ng 3.7.x is supported on armv7 architecture.
I went through the following link and found that armv7 is not listed
https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-la test-guides/en/syslog-ng-ose-guide-admin/html/supported-platforms.html
1.6. Supported platforms
The syslog-ng Open Source Edition application is highly portable and is known to run on a wide range of hardware architectures (x86, x86_64, SUN Sparc, PowerPC 32 and 64, Alpha)
Regards,
Girish
______________________________________________________________________ ________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________ ________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq ______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
You do not need libjson, but in that case system() source will not work: you need to specify system related log sources by hand. You can also disable some bundled libraries to save space, just add a few more configure options (you better check the spelling): --disable-mongodb --disable-amqp Bye, Peter Czanik (CzP) <peter.czanik@balabit.com> Balabit / syslog-ng upstream http://czanik.blogs.balabit.com/ https://twitter.com/PCzanik On Thu, Feb 18, 2016 at 3:05 PM, Girish Kumar < girish.kumar@al-enterprise.com> wrote:
Thanks Czanik for detailed information.
I have included following libraries . Please let me know if this is ok. I have not included libjson.
· EVTLOG
· GLIB
· PCRE
· OPENSSL
Since my requirement is sending syslog log messages over TLS and it is on embedded systems I have to include minimum number of libraries.
Please let me know if any of the libraries can be removed
Regards,
Girish
*From:* syslog-ng-bounces@lists.balabit.hu [mailto: syslog-ng-bounces@lists.balabit.hu] *On Behalf Of *Czanik, Péter *Sent:* Monday, February 15, 2016 12:59 AM
*To:* Syslog-ng users' and developers' mailing list *Subject:* Re: [syslog-ng] syslog-ng 3.7.x support on armv7 architecture
Hi,
I never did cross compiling, so I can't help you in that one, but compiling nativity on a Raspberry Pi 2 using an up-to-date Raspbian as OS worked fine. First I installed all development dependencies, downloaded an unpacked sources. Next I ran configure with python support disabled (did not have time to debug why configure failed to find python, but most likely you don't need it anyway in an embedded environment). Next I built it and ran make check to see if self check succeeds. Everything was all right. Make install put the whole thing under /usr/local. As it's the only software there, it's easy to remove it using 'find /usr/local -type f -delete' :)
apt-get install gcc make flex bison libssl-dev libglib2.0-dev autoconf libtool libevtlog-dev libjson0-dev
wget https://github.com/balabit/syslog-ng/releases/download/syslog-ng-3.7.2/syslo...
tar xzvpf syslog-ng-3.7.2.tar.gz
cd syslog-ng-3.7.2
./configure --disable-python
make
make check
make install
root@raspberrypi:/home/pi/syslog-ng-3.7.2# uname -a Linux raspberrypi 4.1.13-v7+ #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015 armv7l GNU/Linux root@raspberrypi:/home/pi/syslog-ng-3.7.2# /usr/local/sbin/syslog-ng -V syslog-ng 3.7.2 Installer-Version: 3.7.2 Revision: Compile-Date: Feb 14 2016 17:55:46 Available-Modules: basicfuncs,pseudofile,csvparser,affile,kvformat,json-plugin,afamqp,afprog,syslogformat,afuser,graphite,confgen,afstomp,cryptofuncs,afmongodb,afsocket,linux-kmsg-format,system-source,dbparser,sdjournal Enable-Debug: off Enable-GProf: off Enable-Memtrace: off Enable-IPv6: on Enable-Spoof-Source: off Enable-TCP-Wrapper: off Enable-Linux-Caps: off
All of this is documented at https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.7-guid...
Bye,
Peter Czanik (CzP) <peter.czanik@balabit.com> Balabit / syslog-ng upstream http://czanik.blogs.balabit.com/ https://twitter.com/PCzanik
On Sun, Feb 14, 2016 at 10:34 AM, Girish Kumar < girish.kumar@al-enterprise.com> wrote:
Thanks Peter. I started using syslog-ng 3.7.2.
Armv7 hardware is BCM56340(Helix4) from broadcom My requirement is sending syslog messages over TLS to remote server. My compilation went fine for power pc architecture. But for ARMv7 I am having problem as I mentioned earlier.
Following is the error. As other community friends suggested to I tried setting magic CFLAGS and LDFLAGS. But could not succeed. Could you please share your experience.
CC lib/lib_libsyslog_ng_la-mainloop-call.lo /tmp/ccChQOWy.s: Assembler messages: /tmp/ccChQOWy.s:260: Error: invalid operands (.text and *UND* sections) for `-' /tmp/ccChQOWy.s:269: Error: invalid operands (.text and *UND* sections) for `-' make[4]: *** [lib/lib_libsyslog_ng_la-mainloop-call.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/objs/46/7.X.X.R01/armv7/syslog-ng' make[2]: Entering directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/objs/46/7.X.X.R01/armv7/syslog-ng' make --no-print-directory install-recursive CC lib/lib_libsyslog_ng_la-mainloop-call.lo /tmp/cc0N5KS5.s: Assembler messages: /tmp/cc0N5KS5.s:260: Error: invalid operands (.text and *UND* sections) for `-' /tmp/cc0N5KS5.s:269: Error: invalid operands (.text and *UND* sections) for `-' make[4]: *** [lib/lib_libsyslog_ng_la-mainloop-call.lo] Error 1 make[3]: *** [install-recursive] Error 1 make[2]: *** [install] Error 2 make[2]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/objs/46/7.X.X.R01/armv7/syslog-ng' make[1]: *** [/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/built/46/7.X.X.R01/armv7/sbin/syslog-ng] Error 2 make[1]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps' make: *** [tps-build] Error 2 + set +x
Regards, Girish
-----Original Message----- From: syslog-ng-bounces@lists.balabit.hu [mailto: syslog-ng-bounces@lists.balabit.hu] On Behalf Of Czanik, Péter Sent: Friday, February 12, 2016 12:15 PM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] syslog-ng 3.7.x support on armv7 architecture
Hi,
Starting with syslog-ng 3.7, sources are only published on github. This is the current stable version, 3.8 is the current development version, which is now git head.
BTW: could you write about your use case? On which ARMv7 hardware do you use syslog-ng? How do you (plan to) use it? (I'm an ARM addict, running syslog-ng on the Raspberry Pi2)
Bye, Peter Czanik (CzP) <peter.czanik@balabit.com> Balabit / syslog-ng upstream http://czanik.blogs.balabit.com/ https://twitter.com/PCzanik
On Fri, Feb 12, 2016 at 7:31 AM, Girish Kumar < girish.kumar@al-enterprise.com> wrote:
Thank you all for the information. I will start working based on your suggestions.
Please let me know which version of syslog-ng I should use. I downloaded both syslog-ng 3.7.2 and syslog-ng 3.6.4
I assume syslog-ng 3.6.4 is the stable version. Following website doesn’t have syslog-ng 3.7.2
https://my.balabit.com/downloads/syslog-ng/sources
Regards,
Girish
From: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of Scheidler, Balázs Sent: Wednesday, February 10, 2016 6:02 PM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] syslog-ng 3.7.x support on armv7 architecture
Hi Girish,
Those architectures that are listed were known to work in specific points in time and are not guaranteed to remain so. Also, syslog-ng is an application written in C and is aimed to be portable to a number of architectures, which we also demonstrated in the amount of platforms that we support.
On this community mailing list, all we can do is help you if you have specific questions/issues. This may or may not match your level of expectations, but we can only guarantee that we put "best effort" in answering your questions and no guarantees.
Back to armv7, just like Peter Czanik has answered, we know about syslog-ng being used on this architecture, so it should theoretically be possible, but it's not something that the developers use every day, or which would be a primary platform (those being Linux distributions).
The toolchain and the environment matters, syslog-ng depends on a number of external libraries (glib for example, which you had an issue with in the past), and we generally assume that those are present on the system already.
That being said, Balabit does provide support for various platforms and as a commercial entity has the means and willingness to do testing in a wider variety of platforms and architectures. If you would like support guarantees, Balabit can most probably give that.
The best course of action seems to be for you to:
1) continue your trial and error in compiling syslog-ng, and ask if there's a concrete issue. We will answer to the best of our ability.
2) try contacting Balabit sales if the response you get on this mailing list is not enough to get your issues resolved.
I am really happy to help, just like I did in the past.
Disclaimer: I am employed by Balabit (being the CTO there), however I wrote this email as a member of the open source syslog-ng community. I don't want to push anything here, the only reason I wrote this email is that I started sensing a mismatch of what the community can provide and what you can expect.
I hope this helps,
Bazsi
-- Bazsi
On Wed, Feb 10, 2016 at 12:25 PM, Girish Kumar <girish.kumar@al-enterprise.com> wrote:
Hi All,
Please let me know whether syslog-ng 3.7.x is supported on armv7 architecture.
I went through the following link and found that armv7 is not listed
https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-la test-guides/en/syslog-ng-ose-guide-admin/html/supported-platforms.html
1.6. Supported platforms
The syslog-ng Open Source Edition application is highly portable and is known to run on a wide range of hardware architectures (x86, x86_64, SUN Sparc, PowerPC 32 and 64, Alpha)
Regards,
Girish
______________________________________________________________________
________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________ ________ Member info:
https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
Either try to use a native compilation (like Czanik P recommended), or let's troubleshoot the toolchain issue. The error messages up there seems to indicate some problem in the assembly output generated by gcc. You could check that by asking gcc to output an assembly file (and not use a temporary) using the -S switch to gcc. Basically you should get the gcc command line that fails using: $ make V=1 This will enable verbose logging, and all commands will be printed by make. Copy-paste the command line and 1) supply an additional -S option, and 2) locate and change the -o option to specify a output file name that you can investigate (e.g. -o foobar.s) Then locate the lines 260 and 269, which cause the assembler to fail. You should be able to reproduce the problem by reassembling the same file: $ as <filename>.s Just by googling the error message I've found: https://mail-index.netbsd.org/netbsd-bugs/2014/05/28/msg036820.html Which is a netbsd error report, but nevertheless probably a genuine bug in gcc 4.8.3 And also a syslog-ng specific workaround here: https://git.congatec.com/yocto/meta-openembedded/commit/c0ce7599526c4dce6d88... The 2nd seems to indicate that although the __thread keyword exists, it doesn't work. The patch in the 2nd link is not the best one, but if you are willing to test patches, I can work in improving it. Hope this helps, Bazsi -- Bazsi On Sun, Feb 14, 2016 at 10:34 AM, Girish Kumar < girish.kumar@al-enterprise.com> wrote:
Thanks Peter. I started using syslog-ng 3.7.2.
Armv7 hardware is BCM56340(Helix4) from broadcom My requirement is sending syslog messages over TLS to remote server. My compilation went fine for power pc architecture. But for ARMv7 I am having problem as I mentioned earlier.
Following is the error. As other community friends suggested to I tried setting magic CFLAGS and LDFLAGS. But could not succeed. Could you please share your experience.
CC lib/lib_libsyslog_ng_la-mainloop-call.lo /tmp/ccChQOWy.s: Assembler messages: /tmp/ccChQOWy.s:260: Error: invalid operands (.text and *UND* sections) for `-' /tmp/ccChQOWy.s:269: Error: invalid operands (.text and *UND* sections) for `-' make[4]: *** [lib/lib_libsyslog_ng_la-mainloop-call.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/objs/46/7.X.X.R01/armv7/syslog-ng' make[2]: Entering directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/objs/46/7.X.X.R01/armv7/syslog-ng' make --no-print-directory install-recursive CC lib/lib_libsyslog_ng_la-mainloop-call.lo /tmp/cc0N5KS5.s: Assembler messages: /tmp/cc0N5KS5.s:260: Error: invalid operands (.text and *UND* sections) for `-' /tmp/cc0N5KS5.s:269: Error: invalid operands (.text and *UND* sections) for `-' make[4]: *** [lib/lib_libsyslog_ng_la-mainloop-call.lo] Error 1 make[3]: *** [install-recursive] Error 1 make[2]: *** [install] Error 2 make[2]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/objs/46/7.X.X.R01/armv7/syslog-ng' make[1]: *** [/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/built/46/7.X.X.R01/armv7/sbin/syslog-ng] Error 2 make[1]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps' make: *** [tps-build] Error 2 + set +x
Regards, Girish
-----Original Message----- From: syslog-ng-bounces@lists.balabit.hu [mailto: syslog-ng-bounces@lists.balabit.hu] On Behalf Of Czanik, Péter Sent: Friday, February 12, 2016 12:15 PM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] syslog-ng 3.7.x support on armv7 architecture
Hi,
Starting with syslog-ng 3.7, sources are only published on github. This is the current stable version, 3.8 is the current development version, which is now git head.
BTW: could you write about your use case? On which ARMv7 hardware do you use syslog-ng? How do you (plan to) use it? (I'm an ARM addict, running syslog-ng on the Raspberry Pi2)
Bye, Peter Czanik (CzP) <peter.czanik@balabit.com> Balabit / syslog-ng upstream http://czanik.blogs.balabit.com/ https://twitter.com/PCzanik
On Fri, Feb 12, 2016 at 7:31 AM, Girish Kumar < girish.kumar@al-enterprise.com> wrote:
Thank you all for the information. I will start working based on your suggestions.
Please let me know which version of syslog-ng I should use. I downloaded both syslog-ng 3.7.2 and syslog-ng 3.6.4
I assume syslog-ng 3.6.4 is the stable version. Following website doesn’t have syslog-ng 3.7.2
https://my.balabit.com/downloads/syslog-ng/sources
Regards,
Girish
From: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of Scheidler, Balázs Sent: Wednesday, February 10, 2016 6:02 PM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] syslog-ng 3.7.x support on armv7 architecture
Hi Girish,
Those architectures that are listed were known to work in specific points in time and are not guaranteed to remain so. Also, syslog-ng is an application written in C and is aimed to be portable to a number of architectures, which we also demonstrated in the amount of platforms that we support.
On this community mailing list, all we can do is help you if you have specific questions/issues. This may or may not match your level of expectations, but we can only guarantee that we put "best effort" in answering your questions and no guarantees.
Back to armv7, just like Peter Czanik has answered, we know about syslog-ng being used on this architecture, so it should theoretically be possible, but it's not something that the developers use every day, or which would be a primary platform (those being Linux distributions).
The toolchain and the environment matters, syslog-ng depends on a number of external libraries (glib for example, which you had an issue with in the past), and we generally assume that those are present on the system already.
That being said, Balabit does provide support for various platforms and as a commercial entity has the means and willingness to do testing in a wider variety of platforms and architectures. If you would like support guarantees, Balabit can most probably give that.
The best course of action seems to be for you to:
1) continue your trial and error in compiling syslog-ng, and ask if there's a concrete issue. We will answer to the best of our ability.
2) try contacting Balabit sales if the response you get on this mailing list is not enough to get your issues resolved.
I am really happy to help, just like I did in the past.
Disclaimer: I am employed by Balabit (being the CTO there), however I wrote this email as a member of the open source syslog-ng community. I don't want to push anything here, the only reason I wrote this email is that I started sensing a mismatch of what the community can provide and what you can expect.
I hope this helps,
Bazsi
-- Bazsi
On Wed, Feb 10, 2016 at 12:25 PM, Girish Kumar <girish.kumar@al-enterprise.com> wrote:
Hi All,
Please let me know whether syslog-ng 3.7.x is supported on armv7 architecture.
I went through the following link and found that armv7 is not listed
https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-la test-guides/en/syslog-ng-ose-guide-admin/html/supported-platforms.html
1.6. Supported platforms
The syslog-ng Open Source Edition application is highly portable and is known to run on a wide range of hardware architectures (x86, x86_64, SUN Sparc, PowerPC 32 and 64, Alpha)
Regards,
Girish
______________________________________________________________________ ________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________ ________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
Thank you. I will try as you suggested. Regards, Girish From: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of Scheidler, Balázs Sent: Monday, February 15, 2016 3:34 PM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] syslog-ng 3.7.x support on armv7 architecture Either try to use a native compilation (like Czanik P recommended), or let's troubleshoot the toolchain issue. The error messages up there seems to indicate some problem in the assembly output generated by gcc. You could check that by asking gcc to output an assembly file (and not use a temporary) using the -S switch to gcc. Basically you should get the gcc command line that fails using: $ make V=1 This will enable verbose logging, and all commands will be printed by make. Copy-paste the command line and 1) supply an additional -S option, and 2) locate and change the -o option to specify a output file name that you can investigate (e.g. -o foobar.s) Then locate the lines 260 and 269, which cause the assembler to fail. You should be able to reproduce the problem by reassembling the same file: $ as <filename>.s Just by googling the error message I've found: https://mail-index.netbsd.org/netbsd-bugs/2014/05/28/msg036820.html Which is a netbsd error report, but nevertheless probably a genuine bug in gcc 4.8.3 And also a syslog-ng specific workaround here: https://git.congatec.com/yocto/meta-openembedded/commit/c0ce7599526c4dce6d88... The 2nd seems to indicate that although the __thread keyword exists, it doesn't work. The patch in the 2nd link is not the best one, but if you are willing to test patches, I can work in improving it. Hope this helps, Bazsi -- Bazsi On Sun, Feb 14, 2016 at 10:34 AM, Girish Kumar <girish.kumar@al-enterprise.com<mailto:girish.kumar@al-enterprise.com>> wrote: Thanks Peter. I started using syslog-ng 3.7.2. Armv7 hardware is BCM56340(Helix4) from broadcom My requirement is sending syslog messages over TLS to remote server. My compilation went fine for power pc architecture. But for ARMv7 I am having problem as I mentioned earlier. Following is the error. As other community friends suggested to I tried setting magic CFLAGS and LDFLAGS. But could not succeed. Could you please share your experience. CC lib/lib_libsyslog_ng_la-mainloop-call.lo /tmp/ccChQOWy.s: Assembler messages: /tmp/ccChQOWy.s:260: Error: invalid operands (.text and *UND* sections) for `-' /tmp/ccChQOWy.s:269: Error: invalid operands (.text and *UND* sections) for `-' make[4]: *** [lib/lib_libsyslog_ng_la-mainloop-call.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/objs/46/7.X.X.R01/armv7/syslog-ng' make[2]: Entering directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/objs/46/7.X.X.R01/armv7/syslog-ng' make --no-print-directory install-recursive CC lib/lib_libsyslog_ng_la-mainloop-call.lo /tmp/cc0N5KS5.s: Assembler messages: /tmp/cc0N5KS5.s:260: Error: invalid operands (.text and *UND* sections) for `-' /tmp/cc0N5KS5.s:269: Error: invalid operands (.text and *UND* sections) for `-' make[4]: *** [lib/lib_libsyslog_ng_la-mainloop-call.lo] Error 1 make[3]: *** [install-recursive] Error 1 make[2]: *** [install] Error 2 make[2]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/objs/46/7.X.X.R01/armv7/syslog-ng' make[1]: *** [/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/built/46/7.X.X.R01/armv7/sbin/syslog-ng] Error 2 make[1]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps' make: *** [tps-build] Error 2 + set +x Regards, Girish -----Original Message----- From: syslog-ng-bounces@lists.balabit.hu<mailto:syslog-ng-bounces@lists.balabit.hu> [mailto:syslog-ng-bounces@lists.balabit.hu<mailto:syslog-ng-bounces@lists.balabit.hu>] On Behalf Of Czanik, Péter Sent: Friday, February 12, 2016 12:15 PM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] syslog-ng 3.7.x support on armv7 architecture Hi, Starting with syslog-ng 3.7, sources are only published on github. This is the current stable version, 3.8 is the current development version, which is now git head. BTW: could you write about your use case? On which ARMv7 hardware do you use syslog-ng? How do you (plan to) use it? (I'm an ARM addict, running syslog-ng on the Raspberry Pi2) Bye, Peter Czanik (CzP) <peter.czanik@balabit.com<mailto:peter.czanik@balabit.com>> Balabit / syslog-ng upstream http://czanik.blogs.balabit.com/ https://twitter.com/PCzanik On Fri, Feb 12, 2016 at 7:31 AM, Girish Kumar <girish.kumar@al-enterprise.com<mailto:girish.kumar@al-enterprise.com>> wrote:
Thank you all for the information. I will start working based on your suggestions.
Please let me know which version of syslog-ng I should use. I downloaded both syslog-ng 3.7.2 and syslog-ng 3.6.4
I assume syslog-ng 3.6.4 is the stable version. Following website doesn’t have syslog-ng 3.7.2
https://my.balabit.com/downloads/syslog-ng/sources
Regards,
Girish
From: syslog-ng-bounces@lists.balabit.hu<mailto:syslog-ng-bounces@lists.balabit.hu> [mailto:syslog-ng-bounces@lists.balabit.hu<mailto:syslog-ng-bounces@lists.balabit.hu>] On Behalf Of Scheidler, Balázs Sent: Wednesday, February 10, 2016 6:02 PM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] syslog-ng 3.7.x support on armv7 architecture
Hi Girish,
Those architectures that are listed were known to work in specific points in time and are not guaranteed to remain so. Also, syslog-ng is an application written in C and is aimed to be portable to a number of architectures, which we also demonstrated in the amount of platforms that we support.
On this community mailing list, all we can do is help you if you have specific questions/issues. This may or may not match your level of expectations, but we can only guarantee that we put "best effort" in answering your questions and no guarantees.
Back to armv7, just like Peter Czanik has answered, we know about syslog-ng being used on this architecture, so it should theoretically be possible, but it's not something that the developers use every day, or which would be a primary platform (those being Linux distributions).
The toolchain and the environment matters, syslog-ng depends on a number of external libraries (glib for example, which you had an issue with in the past), and we generally assume that those are present on the system already.
That being said, Balabit does provide support for various platforms and as a commercial entity has the means and willingness to do testing in a wider variety of platforms and architectures. If you would like support guarantees, Balabit can most probably give that.
The best course of action seems to be for you to:
1) continue your trial and error in compiling syslog-ng, and ask if there's a concrete issue. We will answer to the best of our ability.
2) try contacting Balabit sales if the response you get on this mailing list is not enough to get your issues resolved.
I am really happy to help, just like I did in the past.
Disclaimer: I am employed by Balabit (being the CTO there), however I wrote this email as a member of the open source syslog-ng community. I don't want to push anything here, the only reason I wrote this email is that I started sensing a mismatch of what the community can provide and what you can expect.
I hope this helps,
Bazsi
-- Bazsi
On Wed, Feb 10, 2016 at 12:25 PM, Girish Kumar <girish.kumar@al-enterprise.com<mailto:girish.kumar@al-enterprise.com>> wrote:
Hi All,
Please let me know whether syslog-ng 3.7.x is supported on armv7 architecture.
I went through the following link and found that armv7 is not listed
https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-la test-guides/en/syslog-ng-ose-guide-admin/html/supported-platforms.html
1.6. Supported platforms
The syslog-ng Open Source Edition application is highly portable and is known to run on a wide range of hardware architectures (x86, x86_64, SUN Sparc, PowerPC 32 and 64, Alpha)
Regards,
Girish
______________________________________________________________________ ________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________ ________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq ______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
participants (4)
-
Budai, László
-
Czanik, Péter
-
Girish Kumar
-
Scheidler, Balázs