public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Joshua Brindle<method@gentoo.org>
To: gentoo-dev@gentoo.org
Subject: [gentoo-dev] problems, gcc woes, CFLAGS and et_dyn
Date: 20 Jul 2003 17:26:00 -0500	[thread overview]
Message-ID: <20030720T172648Z_B95E00150000@gentoo.org> (raw)

Alexander Gabert has been working very hard on getting et_dyn (ALSR)

here is my report, with problem classification already:

1) propolice: problems with __guard symbol not referred correctly
-----------------------------------------------------------------
grub (the boot loader) misses __guard in some of it's parts when compiling and fails
cracklib misses __guard which is not in the @GOT in the library referred(?)
hsi from Adamantix already suggested a workaround for that...
investigating... Hiroaki has to say something about that...

2) etdyn: Makefiles that forget to define -lcrypt or other -l*
--------------------------------------------------------------
sys-libs/pam gets through when the Makefile is changed to include
-lcrypt in the _right_ place where gcc is invoked
funny though that this only uncovers with etdyn :-)

3) etdyn: old style system calls via assembler constructed interface
--------------------------------------------------------------------
lilo uses the old llseek syscall (like fdisk used in util-linux)
net-ftp/proftpd uses a system call to check for capabilities(?)

4) etdyn: failing configure scripts due to broken libraries
-----------------------------------------------------------
net-misc/ntp breaks because -lreadline is unable to resolve some symbols
when doing a conftest in configure ... here is the fast workaround:
the mistake only appears with a dumb ./configure conftest.c
set CC='gcc -static' for the configure part and then let the following
script rush through the dir:
find . -name "Makefile" -exec sed -i -s 's:gcc -static:gcc:' {} \;
then, do make and get etdyn executables though the configure is broken.
disadvantage: is linux and gcc centric, need to find a better way,
i have to report to the appropriate upstream!


So the conclusion is that using CFLAGS and LDFLAGS to build an et_dyn system
is not adequate and something else must be done. The current solution
is to use gcc-config to switch the default spec file but this has a number 
of downfalls, we'd like any other thoughts, opinions, or ideas .. Thanks


Joshua Brindle

--
gentoo-dev@gentoo.org mailing list


                 reply	other threads:[~2003-07-20 22:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

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

  git send-email \
    --in-reply-to=20030720T172648Z_B95E00150000@gentoo.org \
    --to=method@gentoo.org \
    --cc=gentoo-dev@gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox