[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#339934: marked as done (gcc-3.3: does not honour -fPIC on GNU/kFreeBSD)



Your message dated Sat, 18 Mar 2006 07:32:17 -0800
with message-id <E1FKdPd-0006vx-8A@spohr.debian.org>
and subject line Bug#339934: fixed in gcc-3.3 1:3.3.6-13
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: gcc-3.3
Version: 1:3.3.6-10
Severity: normal
Tags: patch

Hi,

gcc-3.3 does not honour the -fPIC flag on GNU/kFreeBSD. This is due to a
bug in the kbsd-gnu.dpatch I submitted sometimes ago.

Please find attached a patch that fixes the necessary things in this 
file. It would be nice if you can apply it in the next upload.

Thanks in advance,
Aurelien Jarno


-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.4-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages gcc-3.3 depends on:
ii  binutils      2.16.1cvs20051117-1        The GNU assembler, linker and bina
ii  cpp-3.3       1:3.3.6-10                 The GNU C preprocessor
ii  gcc-3.3-base  1:3.3.6-10                 The GNU Compiler Collection (base 
ii  libc0.1       2.3-1+kbsd.13              GNU C Library: Shared libraries an
ii  libgcc1       1:4.0.2-4                  GCC support library

Versions of packages gcc-3.3 recommends:
ii  libc0.1-dev                2.3-1+kbsd.13 GNU C Library: Development Librari

-- no debconf information
Author: aurel32
Status: in BTS

diff -u gcc-3.3-3.3.6/debian/patches/kbsd-gnu.dpatch gcc-3.3-3.3.6/debian/patches/kbsd-gnu.dpatch
--- gcc-3.3-3.3.6/debian/patches/kbsd-gnu.dpatch
+++ gcc-3.3-3.3.6/debian/patches/kbsd-gnu.dpatch
@@ -91,7 +91,7 @@
 diff -Nur gcc-3.3.6.orig/gcc/config/i386/kfreebsd-gnu.h gcc-3.3.6/gcc/config/i386/kfreebsd-gnu.h
 --- gcc-3.3.6.orig/gcc/config/i386/kfreebsd-gnu.h	1970-01-01 01:00:00.000000000 +0100
 +++ gcc-3.3.6/gcc/config/i386/kfreebsd-gnu.h	2005-07-18 01:53:05.000000000 +0200
-@@ -0,0 +1,26 @@
+@@ -0,0 +1,45 @@
 +/* Definitions for Intel 386 running kFreeBSD-based GNU systems with ELF format
 +   Copyright (C) 2004
 +   Free Software Foundation, Inc.
@@ -118,6 +118,25 @@
 +#define LINK_EMULATION "elf_i386_fbsd"
 +#undef REG_NAME
 +#define REG_NAME(reg) sc_ ## reg
++
++#undef TARGET_OS_CPP_BUILTINS    
++#define TARGET_OS_CPP_BUILTINS()		\
++  do						\
++    {						\
++	builtin_define ("__FreeBSD_kernel__");	\
++	builtin_define ("__GLIBC__");		\
++	builtin_define_std ("unix");		\
++	builtin_define ("__ELF__");		\
++	builtin_assert ("system=unix");		\
++	builtin_assert ("system=posix");	\
++	if (flag_pic)				\
++	  {					\
++	    builtin_define ("__PIC__");		\
++	    builtin_define ("__pic__");		\
++	  }					\
++    }						\
++  while (0)
++
 diff -Nur gcc-3.3.6.orig/gcc/config/i386/knetbsd-gnu.h gcc-3.3.6/gcc/config/i386/knetbsd-gnu.h
 --- gcc-3.3.6.orig/gcc/config/i386/knetbsd-gnu.h	1970-01-01 01:00:00.000000000 +0100
 +++ gcc-3.3.6/gcc/config/i386/knetbsd-gnu.h	2005-07-18 01:53:05.000000000 +0200
@@ -251,7 +270,7 @@
 diff -Nur gcc-3.3.6.orig/gcc/config/kfreebsd-gnu.h gcc-3.3.6/gcc/config/kfreebsd-gnu.h
 --- gcc-3.3.6.orig/gcc/config/kfreebsd-gnu.h	1970-01-01 01:00:00.000000000 +0100
 +++ gcc-3.3.6/gcc/config/kfreebsd-gnu.h	2005-07-18 01:54:10.000000000 +0200
-@@ -0,0 +1,37 @@
+@@ -0,0 +1,24 @@
 +/* Definitions for kFreeBSD-based GNU systems with ELF format
 +   Copyright (C) 2004
 +   Free Software Foundation, Inc.
@@ -274,19 +293,6 @@
 +the Free Software Foundation, 59 Temple Place - Suite 330,
 +Boston, MA 02111-1307, USA.  */
 +
-+#undef TARGET_OS_CPP_BUILTINS    
-+#define TARGET_OS_CPP_BUILTINS()		\
-+  do						\
-+    {						\
-+	builtin_define ("__FreeBSD_kernel__");	\
-+	builtin_define ("__GLIBC__");		\
-+	builtin_define_std ("unix");		\
-+	builtin_define ("__ELF__");		\
-+	builtin_assert ("system=unix");		\
-+	builtin_assert ("system=posix");	\
-+    }						\
-+  while (0)
-+
 +#undef DYNAMIC_LINKER
 +#define DYNAMIC_LINKER "/lib/ld.so.1"
 diff -Nur gcc-3.3.6.orig/gcc/config/knetbsd-gnu.h gcc-3.3.6/gcc/config/knetbsd-gnu.h


--- End Message ---
--- Begin Message ---
Source: gcc-3.3
Source-Version: 1:3.3.6-13

We believe that the bug you reported is fixed in the latest version of
gcc-3.3, which is due to be installed in the Debian FTP archive:

cpp-3.3-doc_3.3.6-13_all.deb
  to pool/main/g/gcc-3.3/cpp-3.3-doc_3.3.6-13_all.deb
cpp-3.3_3.3.6-13_i386.deb
  to pool/main/g/gcc-3.3/cpp-3.3_3.3.6-13_i386.deb
g++-3.3_3.3.6-13_i386.deb
  to pool/main/g/gcc-3.3/g++-3.3_3.3.6-13_i386.deb
gcc-3.3-base_3.3.6-13_i386.deb
  to pool/main/g/gcc-3.3/gcc-3.3-base_3.3.6-13_i386.deb
gcc-3.3-doc_3.3.6-13_all.deb
  to pool/main/g/gcc-3.3/gcc-3.3-doc_3.3.6-13_all.deb
gcc-3.3_3.3.6-13.diff.gz
  to pool/main/g/gcc-3.3/gcc-3.3_3.3.6-13.diff.gz
gcc-3.3_3.3.6-13.dsc
  to pool/main/g/gcc-3.3/gcc-3.3_3.3.6-13.dsc
gcc-3.3_3.3.6-13_i386.deb
  to pool/main/g/gcc-3.3/gcc-3.3_3.3.6-13_i386.deb
libstdc++5-3.3-dbg_3.3.6-13_i386.deb
  to pool/main/g/gcc-3.3/libstdc++5-3.3-dbg_3.3.6-13_i386.deb
libstdc++5-3.3-dev_3.3.6-13_i386.deb
  to pool/main/g/gcc-3.3/libstdc++5-3.3-dev_3.3.6-13_i386.deb
libstdc++5-3.3-doc_3.3.6-13_all.deb
  to pool/main/g/gcc-3.3/libstdc++5-3.3-doc_3.3.6-13_all.deb
libstdc++5-3.3-pic_3.3.6-13_i386.deb
  to pool/main/g/gcc-3.3/libstdc++5-3.3-pic_3.3.6-13_i386.deb
libstdc++5_3.3.6-13_i386.deb
  to pool/main/g/gcc-3.3/libstdc++5_3.3.6-13_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 339934@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated gcc-3.3 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


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

Format: 1.7
Date: Sat, 18 Mar 2006 15:21:03 +0100
Source: gcc-3.3
Binary: libstdc++5-3.3-dev gcc-3.3-nof gcc-3.3 libgcc1 lib64stdc++5 gcc-3.3-soft-float libstdc++5-3.3-doc libstdc++5 cpp-3.3-doc gcc-3.3-hppa64 cpp-3.3 libstdc++5-3.3-pic g++-3.3 gcc-3.3-base libstdc++5-3.3-dbg gcc-3.3-doc
Architecture: source i386 all
Version: 1:3.3.6-13
Distribution: unstable
Urgency: low
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Description: 
 cpp-3.3    - The GNU C preprocessor
 cpp-3.3-doc - Documentation for the GNU C preprocessor (cpp)
 g++-3.3    - The GNU C++ compiler
 gcc-3.3    - The GNU C compiler
 gcc-3.3-base - The GNU Compiler Collection (base package)
 gcc-3.3-doc - Documentation for the GNU compilers (gcc, gobjc, g++)
 libstdc++5 - The GNU Standard C++ Library v3
 libstdc++5-3.3-dbg - The GNU Standard C++ Library v3 (debugging files)
 libstdc++5-3.3-dev - The GNU Standard C++ Library v3 (development files)
 libstdc++5-3.3-doc - The GNU Standard C++ Library v3 (documentation files)
 libstdc++5-3.3-pic - The GNU Standard C++ Library v3 (shared library subset kit)
Closes: 331220 339934 356898
Changes: 
 gcc-3.3 (1:3.3.6-13) unstable; urgency=low
 .
   * Remove packages built from newer GCC versions from the control file.
   * Fix duplicate provides line in control file (closes: #356898).
   * Configure --with-cpu=v8 on sparc.
   * Honour -fPIC on GNU/kFreeBSD (Aurelian Jarno). Closes: #339934.
   * Add big-endian arm (armeb) support (Lennert Buytenhek). Closes: #331220.
Files: 
 01a4826c2b47c46e63cc7550a285ebeb 1765 devel optional gcc-3.3_3.3.6-13.dsc
 a5858eecf4600908340504c77d0f1725 324114 devel optional gcc-3.3_3.3.6-13.diff.gz
 94b85857a1db65503751344dcd720fe3 177472 doc optional cpp-3.3-doc_3.3.6-13_all.deb
 1f5ce550832fdf0de1c2720d4ff20ef7 7538960 doc optional libstdc++5-3.3-doc_3.3.6-13_all.deb
 0767dee07dcf13e15b136211746c4088 1338986 doc optional gcc-3.3-doc_3.3.6-13_all.deb
 91943258e0351069266df2a21f160dfb 150492 devel optional gcc-3.3-base_3.3.6-13_i386.deb
 9f4a8e68cd8065a04e80b3971d3adf9e 1384894 interpreters optional cpp-3.3_3.3.6-13_i386.deb
 ac0082ff03b6bd015f088c0ccc02c193 1771528 devel optional g++-3.3_3.3.6-13_i386.deb
 a02633acc5689d449d9218bbacfddb5f 295766 libs optional libstdc++5_3.3.6-13_i386.deb
 0881bd3b6f4598f7e29225a0597a0792 774800 libdevel optional libstdc++5-3.3-dev_3.3.6-13_i386.deb
 4ea8e4c4ce662e2254c780db4765b345 325230 libdevel extra libstdc++5-3.3-pic_3.3.6-13_i386.deb
 47327dd923b09863d17751dffd8c550d 4906212 libdevel extra libstdc++5-3.3-dbg_3.3.6-13_i386.deb
 9b0bf7327d9cb0377553d5d1312b559e 1553336 devel optional gcc-3.3_3.3.6-13_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEHCJ8StlRaw+TLJwRAreRAJ4sVEaeYncsx9nC5Y2Q4tX0ytFiOwCgjiln
fYIcYqGeJsYFR01hrPxCg9Y=
=cvmG
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: