unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org
Subject: Re: OpenBSD build failure
Date: Wed, 22 Nov 2006 10:19:11 -0500	[thread overview]
Message-ID: <87mz6jo6fk.fsf@cyd.mit.edu> (raw)
In-Reply-To: <20061122122018.6317E44065@Psilocybe.Update.UU.SE> (Alfred M. Szmidt's message of "Wed\, 22 Nov 2006 13\:20\:18 +0100 \(CET\)")

"Alfred M. Szmidt" <ams@gnu.org> writes:

> The build failure that I reported in the beginning of November wasn't
> fixed (probobly due me not testing the patch).  I have no tested it,
> and emacs builds fine on OpenBSD with it.  It follows Richards
> suggestion to set LD_SWITCH_X_DEFAULT instead of LD_SWITCH_SYSTEM.
> Could someone apply it, please?

Applied.  (So we don't need to include /usr/pkg/lib in the ld switches
at all?)

> 2006-11-02  Alfred M. Szmidt  <ams@gnu.org>  (tiny change)
>
> 	* s/openbsd.h (LD_SWITCH_SYSTEM): Remove /usr/pkg/lib and
> 	/usr/pkg/lib from the library search path.
> 	(LD_SWITCH_X_DEFAULT): New macro.
>
> Index: openbsd.h
> ===================================================================
> RCS file: /cvsroot/emacs/emacs/src/s/openbsd.h,v
> retrieving revision 1.8
> diff -u -p -r1.8 src/s/openbsd.h
> *** src/s/openbsd.h	30 Oct 2006 23:05:35 -0000	1.8
> --- src/s/openbsd.h	2 Nov 2006 14:05:03 -0000
> ***************
> *** 23,33 ****
>   
>   /*  Han Boetes <han@mijncomputer.nl> says this
>       is necessary,  otherwise Emacs dumps core on elf systems.  */
> ! #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z -L/usr/pkg/lib -L/usr/local/lib
>   
>   #else
>   
> ! #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -L/usr/pkg/lib -L/usr/local/lib
>   
>   #endif
>   
> --- 24,40 ----
>   
>   /*  Han Boetes <han@mijncomputer.nl> says this
>       is necessary,  otherwise Emacs dumps core on elf systems.  */
> ! #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z
> ! 
> ! /* The version of gcc on OpenBSD doesn't search /usr/local/lib by
> !    default.  */
> ! #define LD_SWITCH_X_DEFAULT -L/usr/local/lib
>   
>   #else
>   
> ! #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp
> ! 
> ! #define LD_SWITCH_X_DEFAULT -L/usr/local/lib
>   
>   #endif

  reply	other threads:[~2006-11-22 15:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-22 12:20 OpenBSD build failure Alfred M. Szmidt
2006-11-22 15:19 ` Chong Yidong [this message]
2006-11-22 15:44   ` Alfred M. Szmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mz6jo6fk.fsf@cyd.mit.edu \
    --to=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).