I do not have a 64-bit system either, but I reproduce the problem by
using pbuilder-dist to run a "clean" oneiric i386 build  on my system
running natty.

I am seeing this issue of libraries needing to be moved later in the
command in many packages; the behavior is different between gcc-4.5.2 in
natty and gcc-4.6 in oneiric, but I do not see any description of such a
change in gcc or ld documentation.

Your patch to Makefile.am is good; they are better to be called LIBS,
rather than LDFLAGS.

Your patch to acinclude.m4 is also good, but after applying the patch, I
had to remove configure and run autoconf to create a new configure. (I
tried both autoconf and autoreconf, but only used the result of
autoconf.) Then I created a new package and used pbuilder-dist to verify
that it builds on oneiric i386.

In summary, your patch file is good, but I believe that you should also
create a new configure file in the upstream repository.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/770985

Title:
  hamfax version 0.6.4-5.1 failed to build on amd64 with GCC-4.6/oneiric

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hamfax/+bug/770985/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to