Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: "C. Bergström" <cbergstrom@...>
From: Mike Frysinger <vapier@g.o>
Subject: Re: Any interest in sandbox on (open)solaris?
Date: Thu, 29 Jan 2009 03:02:32 -0500
On Saturday 17 January 2009 17:28:36 C. Bergström wrote:
> libsandbox/Makefile.in
>  libsandbox_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
>         $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libsandbox_la_CFLAGS) \
> -       $(CFLAGS) $(libsandbox_la_LDFLAGS) $(LDFLAGS) -o $@
> +       $(CFLAGS) $(libsandbox_la_LDFLAGS) -M libsandbox.map $(LDFLAGS)
> ...
>  libsandbox_la_LDFLAGS = \
>         -no-undefined \
> -       -nodefaultlibs \
> -       -Wl,--version-script,libsandbox.map
> +       -nodefaultlibs

cant you just change the libsandbox_la_LDFLAGS definition rather than both 
places ?  does opensolaris' linker accept -Wl,-Map,libsandbox.map ?

> configure
> @@ -23460,6 +23460,7 @@
>  LIBC_PATH=$(
>         $AWK '/attempt to open/ { if (($4 ~ /\/libc\.so/) && ($5 ==
> "succeeded")) LIBC = $4; }; END {print LIBC}' libctest.log
>  )
> +LIBC_PATH=/lib/amd64/libc.so

please figure out an equivalent method then.  look up a few lines to where we 
run $CC with -Wl,-verbose in order to get the linking trace, and then we use 
that to figure out the libc.so path.

> -$CC $CFLAGS $CPPFLAGS $LDFLAGS -Wall -o libctest libctest.c
> +$CC $CFLAGS $CPPFLAGS $LDFLAGS  -o libctest libctest.c

yeah, -Wall here is pointless so i can drop that

>  if test "$GCC" = yes; then
> -       CFLAGS="$CFLAGS -Wall"
> +       CFLAGS="$CFLAGS "
>  fi

why ?  if you're using GCC, then -Wall should work fine
-mike


Replies:
Re: Any interest in sandbox on (open)solaris?
-- Mike Frysinger
Success! Re: Any interest in sandbox on (open)solaris?
-- C. Bergström
References:
Any interest in sandbox on (open)solaris?
-- C. Bergström
Re: Any interest in sandbox on (open)solaris?
-- Mike Frysinger
Re: Any interest in sandbox on (open)solaris?
-- C. Bergström
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Any interest in sandbox on (open)solaris?
Next by thread:
Success! Re: Any interest in sandbox on (open)solaris?
Previous by date:
Re: Any interest in sandbox on (open)solaris?
Next by date:
Re: Any interest in sandbox on (open)solaris?


Updated Jun 17, 2009

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.