Missing symbol for zero build on bsd port repo using Fedora

Michael Franz mvfranz at gmail.com
Thu Mar 12 04:50:49 PDT 2009


Andrew,




On Thu, Mar 12, 2009 at 5:32 AM, Andrew Haley <aph at redhat.com> wrote:

> Michael Franz wrote:
>
> > I tried to build using the standard jdk7 (not bsd project) and got the
> same
> > errors.  Since this is a stock Fedora 10,this does not seem to be an
> issue
> > with the source tree, but with my compiler.  How do I get
> > my gcc to generate i486 instead of i386?
>
> -march=i486.  It's in the gcc docs.  The openjdk makefiles set COMMON_FLAGS
> and FLAGS in a few places, you just have to search and find them.
>

I was able to find that.  I added it to the zero.make file, but that caused
other errors during the code generation phase[1].  I will try adding it to
the COMMON_FLAGS.

I have had problems adding values to CFLAGS/CXXFLAGS/LDFLAGS within the
build process.  It seems that the whole process is inconsistent in how these
are set and the ability to add values.  If I pass a value fo CFLAGS to
make,  CLAGS does  not get created correctly and the build fails.

I think there was a project that was working on the Windows build to clean
it up, is there anything similar for the *nix family?

Thanks

Michael

1. ../generated/incls/_precompiled.incl:1: error: bad value (486) for
-march= switch


>
> Andrew.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090312/b6b24797/attachment.html 


More information about the distro-pkg-dev mailing list