Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154848 - dev-haskell/hmake doesn't filter LDFLAGS
Summary: dev-haskell/hmake doesn't filter LDFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest trivial (vote)
Assignee: Luis Araujo (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-11 15:58 UTC by Eric Sprague
Modified: 2008-07-05 23:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for 3.10 ebuild (hmake_ebuild-3.10.diff,124 bytes, patch)
2007-01-25 05:57 UTC, Adam Peacock
Details | Diff
patch for 3.11 ebuild (hmake_ebuild-3.11.diff,151 bytes, patch)
2007-01-25 06:18 UTC, Adam Peacock
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Sprague 2006-11-11 15:58:03 UTC
It's built using ghc which doesn't understand the -Wl,-O1 LDFLAGS setting. Perhaps it should force null LDFLAGS?

my system info - 

Portage 2.1.2_rc1-r5 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.5-r0, 2.6.18-gentoo x86_64)
=================================================================
System uname: 2.6.18-gentoo x86_64 AMD Opteron(tm) Processor 250
Gentoo Base System version 1.12.6
Last Sync: Sat, 11 Nov 2006 12:29:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -fomit-frame-pointer -march=opteron -mtune=opteron -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -fomit-frame-pointer -march=opteron -mtune=opteron -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://gentoo.inode.at http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 16bit 7zip X a52 aac aalib acl aiglx aim allegro alsa ao apache2 aspell async atk audacious audiofile authlib bash-completion bdf berkdb binary-drivers binfilter bitmap-fonts bittorrent blender-game buttons bzip bzip2 caps capslib ccache cddb cdinstall cdparanoia cdr cdrom chroot clamav clamd cli compress corba cpio cracklib crypt css cups curl curlwrappers cursors cyrus dbm dbus depth32 dga divx divx4linux dlloader dnd domain-aware dri dts dv dvb dvbplayer dvd dvdr dvdread dvi eap-tls eds elibc_glibc emacs emboss emul-linux-x86 encode epson esd exif exo expat fam ffmpeg flac flash flatfile flexiserver fltk fontconfig foomaticdb fortran ftp fuse gcj gdmflexiserver gif gimp gimpprint ginac glsa glut gmp gnome gnustep gnutls gpgme gphoto2 gpm gps gs gssapi gstreamer gtk gtk2 gtkhtml gtkspell guile hal hfs hpn http icons iconv icq id3 ieee1394 image imagemagick imap imlib innodb input_devices_evdev input_devices_keyboard input_devices_mouse ipod ipsec ipv6 irc isdn isdnlog jabber jack java javascript jfs jit john joystick jpeg jpeg2k kde kdeenablefinal kerberos kernel_linux ladspa lame latex lcms libcaca libclamav libnotify libsexy libwww lirc lm_sensors lua lzo lzw lzw-tiff maildir matroska mbox menubar mikmod mime ming mjpeg mmap mng motif mozbranding mozilla mozsvg mp3 mp4 mpeg musicbrainz mysql nagios-dns nagios-ntp nagios-ping nagios-ssh nautilus ncurses neXt nethack network nfs nis nls nptl nptlonly ntfs objc offensive ogg on-the-fly-crypt openal opengl openmotif openntpd openssl opensslcrypt pam panel-plugin pcre pdf perl php png postgres pppd pspell python qt qt3 qt4 quicktime radius rar rdesktop readline reflection ruby samba sane sasl scanner sdl session sftp sftplogging slang sndfile softmmu sox speedo spell spl sse3 ssl startup-notification svg symlink szip t1lib tcpd theora thunar-vfs tiff timidity transcode transparent-proxy truetype truetype-fonts type1 type1-fonts unicode unzip usb userland_GNU uudeview uuencode v4l vcd video_cards_nv video_cards_nvidia video_cards_vesa video_cards_vga vorbis wmf x264 xanim xcomposite xfce xft xine xinerama xml xorg xosd xpm xscreensaver xsettings xterm xv xvid xvmc yahoo zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Adam Peacock 2007-01-25 05:57:32 UTC
Created attachment 108091 [details, diff]
Patch for 3.10 ebuild
Comment 2 Adam Peacock 2007-01-25 05:59:22 UTC
I just added a patch to filter all ldflags. 
Comment 3 Adam Peacock 2007-01-25 06:18:21 UTC
Created attachment 108092 [details, diff]
patch for 3.11 ebuild
Comment 4 Sebastián Magrí 2008-07-05 23:23:52 UTC
This patch works for me... It compiles good with the changes to the ebuild...
Comment 5 Luis Araujo (RETIRED) gentoo-dev 2008-07-05 23:51:38 UTC
This patch , along a fix for the dependency resolution have been committed to the tree now.

Thanks Eric for reporting this, Adam for the patch, and Sebastian for the help testing it.

Closing this bug now. :-)