Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 11071] New: Building postgresql package on Debian 9.4 x64 for armel target fails
@ 2018-06-06 10:23 bugzilla at busybox.net
  2018-06-06 10:24 ` [Buildroot] [Bug 11071] " bugzilla at busybox.net
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2018-06-06 10:23 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11071

            Bug ID: 11071
           Summary: Building postgresql package on Debian 9.4 x64 for
                    armel target fails
           Product: buildroot
           Version: 2018.02.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: dde at innovaphone.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

I'm currently trying to build buildroot with the postgresql package.
I'm building on Debian Stretch x86_64.

The target configuration in buildroot is for armel:
BR2_ARCH="arm"
BR2_ENDIAN="LITTLE"
BR2_GCC_TARGET_ABI="aapcs-linux"
BR2_GCC_TARGET_CPU="arm926ej-s"
BR2_GCC_TARGET_FLOAT_ABI="soft"
BR2_GCC_TARGET_MODE="arm"
BR2_BINFMT_SUPPORTS_SHARED=y
BR2_READELF_ARCH_NAME="ARM"
BR2_BINFMT_ELF=y
BR2_ARM_CPU_MAYBE_HAS_VFPV2=y
BR2_ARM_CPU_HAS_ARM=y
BR2_ARM_CPU_HAS_THUMB=y

The configure script of postgresql throws an error for libxml2 (I build with
--with-libxml as a custom option) and libz (this is standard, not changed by
me):

output/host/lib/libz.so: file not recognized: File format not recognized
output/host/lib/libxml2.so: file not recognized: File format not recognized

Seems as if the host libraries are wrong.
If I replace these two libraries with the libs found in output/target/usr/lib,
the build finishes without an error.

I do not have this issue on Debian Stretch x86 (32bit).

Greetings,
Daniel

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-06-08  6:50 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-06 10:23 [Buildroot] [Bug 11071] New: Building postgresql package on Debian 9.4 x64 for armel target fails bugzilla at busybox.net
2018-06-06 10:24 ` [Buildroot] [Bug 11071] " bugzilla at busybox.net
2018-06-06 11:29 ` bugzilla at busybox.net
2018-06-06 12:01 ` bugzilla at busybox.net
2018-06-06 12:01 ` bugzilla at busybox.net
2018-06-06 12:32 ` bugzilla at busybox.net
2018-06-06 13:26 ` bugzilla at busybox.net
2018-06-06 13:29 ` bugzilla at busybox.net
2018-06-06 18:52 ` bugzilla at busybox.net
2018-06-06 19:33 ` bugzilla at busybox.net
2018-06-06 19:43 ` bugzilla at busybox.net
2018-06-07  6:16 ` bugzilla at busybox.net
2018-06-07 21:02 ` bugzilla at busybox.net
2018-06-08  6:50 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox