So,

64bit builds seem to be a bit broken with the default behaviour. It's fixed by my 2682 changeset:

https://bitbucket.org/alasdairlumsden/illumos-userland-2682/compare/..illumos/illumos-userland

I'll put a workaround in the GeoIP build for now which can be backed out once 2682 goes in.

Cheers,

Alasdair

On 23/12/2011 16:44, Игорь Пашев wrote:
BTW:
in make-rules/shared-macros.mk <http://shared-macros.mk>:
CC.gcc.32 =$(GCC_ROOT)/bin/gcc -m32
CXX.gcc.32 =$(GCC_ROOT)/bin/g++ -m32
CC.gcc.64 =$(GCC_ROOT)/bin/gcc -m64
CXX.gcc.64 =$(GCC_ROOT)/bin/g++ -m64
CC =$(CC.$(COMPILER).$(BITS))


2011/12/23 Jeppe Toustrup <[email protected]
<mailto:[email protected]>>

    On Thu, Dec 22, 2011 at 16:24, Игорь Пашев <[email protected]
    <mailto:[email protected]>> wrote:
     > include ../../make-rules/shared-macros.mk <http://shared-macros.mk>
     >
     > COMPONENT_NAME         = GeoIP
     > COMPONENT_VERSION      = 1.4.7
     > COMPONENT_SRC          = $(COMPONENT_NAME)-$(COMPONENT_VERSION)
     > COMPONENT_PROJECT_URL  = http://www.maxmind.com
     > COMPONENT_ARCHIVE      = $(COMPONENT_SRC).tar.gz
     > COMPONENT_ARCHIVE_HASH =
    sha1:2db3a61e19dfaa0e4131217b155a59ba4bd0c5cc
     > COMPONENT_ARCHIVE_URL  =
     > http://geolite.maxmind.com/download/geoip/api/c/$(COMPONENT_ARCHIVE)
     >
     > include $(WS_TOP)/make-rules/prep.mk <http://prep.mk>
     > include $(WS_TOP)/make-rules/configure.mk <http://configure.mk>
     > include $(WS_TOP)/make-rules/ips.mk <http://ips.mk>
     >
     >
     > build: $(BUILD_32_and_64)
     >
     > test: $(TEST_32_and_64)
     >
     > install: $(INSTALL_32_and_64)
     >
     > BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
     >
     > include $(WS_TOP)/make-rules/depend.mk <http://depend.mk>

    I just tried that Makefile with a few changes:
    - Changed version to 1.4.8.
    - Updated SHA1 hash for tar ball.
    - Set the compiler to GCC.

    And this results in libraries in both the /usr/lib and /usr/lib/amd64
    folder, however, both sets of files are 32-bit according to "file".

    I'll have to look closer into this, but I'm not sure it will be on
    this side of the holidays.

    --
    Venlig hilsen / Kind regards
    Jeppe Toustrup (aka. Tenzer)

    _______________________________________________
    oi-dev mailing list
    [email protected] <mailto:[email protected]>
    http://openindiana.org/mailman/listinfo/oi-dev




_______________________________________________
oi-dev mailing list
[email protected]
http://openindiana.org/mailman/listinfo/oi-dev




_______________________________________________
oi-dev mailing list
[email protected]
http://openindiana.org/mailman/listinfo/oi-dev

Reply via email to