Re: [gentoo-user] Xorg and static libraries

2006-07-15 Thread Donnie Berkholz
Steve Brenneis wrote:
> Actually, none of that was my problem. The problem was solved by
> commenting out the ModulePath statement in xorg.conf. Now I just have to
> figure out what may have gotten broken by doing that. I think I'll just
> unmerge everything (in Xorg) and start over.

Nothing should get broken by doing that, that is the correct way to have it.

Thanks,
Donnie



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Xorg and static libraries

2006-07-15 Thread Steve Brenneis
Benno Schulenberg wrote:
> Steve Brenneis wrote:
>   
>> Benno Schulenberg wrote:
>> 
>>> You have no video card?  Put at least VIDEO_CARDS="vesa" in
>>> your /etc/make.conf, and add "nv" or "radeon" or whatever your
>>> box has.
>>>   
>> I've never seen any instruction to set this variable.
>> 
>
> In http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml 
> it says: "Set INPUT_DEVICES and VIDEO_CARDS to what you need 
> in /etc/make.conf."
>
>   
>> I have been 
>> through half a dozen versions of X and a couple of versions of
>> KDE with it set this way. Once again, I doubt this is the source
>> of my problem. I also have about five other Gentoo systems
>> running and haven't set this variable on any of them. They all
>> work just fine.
>> 
>
> But none of them on modular Xorg, no?  :)  Older Xorgs just built 
> all of the drivers.
>
> Benno
>   
That will teach me to miss reading the newsletter every month. On day
I'll learn to pay attention to those things.

Actually, none of that was my problem. The problem was solved by
commenting out the ModulePath statement in xorg.conf. Now I just have to
figure out what may have gotten broken by doing that. I think I'll just
unmerge everything (in Xorg) and start over.

Thanks for the help.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg and static libraries

2006-07-13 Thread Steve Brenneis
Benno Schulenberg wrote:
> Steve Brenneis wrote:
>   
>> I am using -hardened and -pie right now.
>> 
>
> Minus pie?  That's no USE flag.
>
>   
It was mentioned in one of the Gentoo forums online as a solution to the
static library problem. I have to admit I never heard of it either.
>> System uname: 2.6.16-gentoo-r11 i686 Intel(R) Pentium(R) M
>> CHOST="i386-pc-linux-gnu"
>> 
> Why 386 when your processor is 686?  (You can't change this now, 
> mind you; it would need a complete reinstall, as far as I know.)
>
>   
At the time I initially installed Gentoo, the i686 CHOST variable was
broken. I can't remember the details, but it caused the initial Gentoo
install to freeze. I may change it one of these days if I decide to
reinstall.
>> CFLAGS="-O2 -march=i686 -fPIC"
>> 
>
> Ouch.  Take the -fPIC out of there!  Search bugzilla for it.
>
>   
It was added to fix another bug with shared libraries. I believe one of
the major packages was broken and tried to build a shared library
without the flag (which will not work). I'll take it out and try again,
but I doubt that is the source of my current problems.
>> VIDEO_CARDS="-apm -ark -chips
>> -cirrus -cyrix -dummy -fbdev -fglrx -glint -i128 -i740 -i810
>> -imstt -mach64 -mga -neomagic -nsc -nv -nvidia -r128 -radeon
>> -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb -tdfx
>> -tga -trident -tseng -v4l -vesa -vga -via -vmware -voodoo"
>> 
>
> You have no video card?  Put at least VIDEO_CARDS="vesa" in your 
> /etc/make.conf, and add "nv" or "radeon" or whatever your box has.
>
>   
I've never seen any instruction to set this variable. I have been
through half a dozen versions of X and a couple of versions of KDE with
it set this way. Once again, I doubt this is the source of my problem. I
also have about five other Gentoo systems running and haven't set this
variable on any of them. They all work just fine.
> Benno
>   

Thanks for the suggestions.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg and static libraries

2006-07-13 Thread Benno Schulenberg
Steve Brenneis wrote:
> I am using -hardened and -pie right now.

Minus pie?  That's no USE flag.

> System uname: 2.6.16-gentoo-r11 i686 Intel(R) Pentium(R) M
> CHOST="i386-pc-linux-gnu"

Why 386 when your processor is 686?  (You can't change this now, 
mind you; it would need a complete reinstall, as far as I know.)

> CFLAGS="-O2 -march=i686 -fPIC"

Ouch.  Take the -fPIC out of there!  Search bugzilla for it.

> VIDEO_CARDS="-apm -ark -chips
> -cirrus -cyrix -dummy -fbdev -fglrx -glint -i128 -i740 -i810
> -imstt -mach64 -mga -neomagic -nsc -nv -nvidia -r128 -radeon
> -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb -tdfx
> -tga -trident -tseng -v4l -vesa -vga -via -vmware -voodoo"

You have no video card?  Put at least VIDEO_CARDS="vesa" in your 
/etc/make.conf, and add "nv" or "radeon" or whatever your box has.

Benno
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg and static libraries

2006-07-12 Thread Steve Brenneis
Benno Schulenberg wrote:
> Steve Brenneis wrote:
>   
>> I had problems with Xorg 6.8.2 and a duplicate symbol in
>> libbitmap.a. This was a well-known problem and the two most
>> popular fixes seemed to be to switch gcc to the non-hardened
>> version or to rebuild Xorg with the "static" use flag. I chose
>> the latter and all was well.
>>
>> Now that the Xorg ebuild has been modularized, the problem is
>> back.
>> 
>
> Are you using the dlloader USE flag?  (If you're on the hardened 
> profile, you automatically should.)  Show an 'emerge -pv xorg-x11'.
> And an 'emerge --info'.
>
> Benno
>   
Thanks for the reply.

I am using -hardened and -pie right now. Here is the emerge --info:

Gentoo Base System version 1.6.15
Portage 2.1-r1 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r4,
2.6.16-gentoo-r11 i686)
=
System uname: 2.6.16-gentoo-r11 i686 Intel(R) Pentium(R) M processor 1.80GHz
dev-lang/python: 2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fPIC"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks metadata-transfer
sandbox sfperms strict"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://mirror.phy.olemiss.edu/mirror/gentoo";
LC_ALL="en_US.utf-8"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr cli crypt cups
dlloader dri dvd eds emboss encode foomaticdb fortran gdbm gif gpm
gstreamer gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod mmx
mmxext motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl oss
pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline
reflection sdl session spell spl sse sse2 ssl symlink tcpd truetype
truetype-fonts type1-fonts unicode vorbis xml2 xmms xorg xv zlib
elibc_glibc input_devices_keyboard input_devices_mouse
input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS,
LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

And here is the emerge -pv xorg-x11:

These are the packages that would be merged, in order:

Calculating dependencies ... done!
[ebuild   R   ] x11-base/xorg-x11-7.0-r1  USE="-3dfx"
INPUT_DEVICES="evdev keyboard mouse -acecad -aiptek -calcomp -citron
-digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen
-jamstudio -joystick -magellan -magictouch -microtouch -mutouch -palmax
-penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void
-wacom" VIDEO_CARDS="-apm -ark -chips -cirrus -cyrix -dummy -fbdev
-fglrx -glint -i128 -i740 -i810 -imstt -mach64 -mga -neomagic -nsc -nv
-nvidia -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion
-sis -sisusb -tdfx -tga -trident -tseng -v4l -vesa -vga -via -vmware
-voodoo" 0 kB

Total size of downloads: 0 kB

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg and static libraries

2006-07-12 Thread Benno Schulenberg
Steve Brenneis wrote:
> I had problems with Xorg 6.8.2 and a duplicate symbol in
> libbitmap.a. This was a well-known problem and the two most
> popular fixes seemed to be to switch gcc to the non-hardened
> version or to rebuild Xorg with the "static" use flag. I chose
> the latter and all was well.
>
> Now that the Xorg ebuild has been modularized, the problem is
> back.

Are you using the dlloader USE flag?  (If you're on the hardened 
profile, you automatically should.)  Show an 'emerge -pv xorg-x11'.
And an 'emerge --info'.

Benno
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Xorg and static libraries

2006-07-12 Thread Steve Brenneis
I had problems with Xorg 6.8.2 and a duplicate symbol in libbitmap.a.
This was a well-known problem and the two most popular fixes seemed to
be to switch gcc to the non-hardened version or to rebuild Xorg with the
"static" use flag. I chose the latter and all was well.

Now that the Xorg ebuild has been modularized, the problem is back. Now
I have a dilemma. I tried building every package in x11-lib with the
"static" USE flag, but no joy was to be had. I resorted to non-hardened
gcc and rebuilt the whole thing, still no joy.

Any ideas? I have three other Gentoo systems, but I'm not upgrading X
until I understand what is going on here. I'd greatly prefer not to have
to resort to XFree86.

Thanks


-- 
gentoo-user@gentoo.org mailing list