[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: PPC issue w.r.t. libartsc (and sometimes kcontrol modules)
From:       ian reinhart geiser <geiseri () yahoo ! com>
Date:       2002-02-27 15:42:12
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kevin did you talk to Franzo about this one?  This could also be an issue with 
our gcc.  I have not tried the newer GCC versions yet but I can vouch that 
there are some other issues too, (the -fsigned-char) one shows up in a few 
places, during the build process, but they never have caused a bug that I am 
aware of so I have not looked any deeper into them.

Also do you know if this breaks the older gcc on the PPC?  I have to wait 
until this evening to test the patch but I will have to check it out on my 
powerbook with SuSE 7.3 on it.

Thanks
	-ian reinhart geiser

On Wednesday 27 February 2002 12:49 am, Kevin Puetz wrote about PPC issue 
w.r.t. libartsc (and sometimes kcontrol modules):
> KDE builds libartscbackend with -nostdlibs to avoid sucking c++ libs that
> it doesn't want. This places the burden of determining what system libs and
> objects constitute the runtime enviroment onto KDE's makefiles. We punt on
> this and let libtool work it out for us, but we seem to not quite get it
> right.
>
> PowerPC, unlike ever other arch I've ever seen, includes it's c runtime as
> "/path/to/libgcc.a" instead of as "-lgcc". libtool doesn't recognize this
> pattern, which seems to sporadically crop up in the libs where we mix C and
> C++. This issue just cropped up to bite debian again, so it's probably time
> we fix it right :-).
>
> It seems to me that libtool should be able to handle .a static archives in
> the files for a platform's c runtime. The rules for it should be just the
> same as for seperate .o files, unless there's some gotcha I don't
> understand (which is why I'm sending this here first).
>
> The following patches kde's libtool magic to handle the way powerpc
> declares it's libgcc include (ie, to handle use of .a archives in
> specifying the runtime libs), hopefully putting this one to rest for good.
> Thoughts? Is there anything special that has to be done for kde-common to
> replicate it across modules?
>
> Index: admin/ltcf-cxx.sh
> ===================================================================
> RCS file: /home/kde/kde-common/admin/ltcf-cxx.sh,v
> retrieving revision 1.36
> diff -u -r1.36 ltcf-cxx.sh
> --- admin/ltcf-cxx.sh   2002/01/25 17:31:45     1.36
> +++ admin/ltcf-cxx.sh   2002/02/18 04:54:47
> @@ -35,6 +35,7 @@
>
>  # Object file extension for compiled C++ test sources.
>  objext=o
> +archiveext=a
>
>  # Code to be used in simple compile tests
>  lt_simple_compile_test_code="int some_variable = 0;"
> @@ -999,7 +1000,7 @@
>         fi
>         ;;
>
> -    *.$objext)
> +    *.$objext | *.$archiveext)
>         # This assumes that the test object file only shows up
>         # once in the compiler output.
>         if test "$p" = "conftest.$objext"; then

- -- 
:-- Ian Reinhart Geiser --:
GPG Key: D6A6 7E16 13A9 B5A7 9E18 D1A7 3F2E B64D 19BC 76F8
===========================================================
===========================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8fP5VPy62TRm8dvgRAlk4AJ9hWxibFUbEKuWpzvhXAbQPYuZUZwCfbu00
DNZ4lgLI5RZk2S7z/stDOFc=
=GOdH
-----END PGP SIGNATURE-----


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic