Missing symbol for zero build on bsd port repo using Fedora
Andrew Haley
aph at redhat.com
Thu Mar 12 06:56:37 PDT 2009
Michael Franz wrote:
> 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.
That's right. You have to edit the makefiles.
> 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?
No idea, sorry.
> 1. ../generated/incls/_precompiled.incl:1: error: bad value (486)
> for -march= switch
For what command?
Andrew.
More information about the distro-pkg-dev
mailing list