mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: John Mylchreest <johnm@gentoo.org>
To: Olaf Hering <olh@suse.de>
Cc: linux-kernel@vger.kernel.org, stable@kernel.org, paulus@samba.org
Subject: Re: [PATCH 1/1] POWERPC: Fix ppc32 compile with gcc+SSP in 2.6.16
Date: Sun, 2 Apr 2006 11:22:59 +0100	[thread overview]
Message-ID: <20060402102259.GM16917@getafix.willow.local> (raw)
In-Reply-To: <20060402085850.GA28857@suse.de>

[-- Attachment #1: Type: text/plain, Size: 6693 bytes --]

On Sun, Apr 02, 2006 at 10:58:50AM +0200, Olaf Hering <olh@suse.de> wrote:
>  On Sat, Apr 01, John Mylchreest wrote:
> 
> > Since ppc32 has been made to use arch/powerpc it has introduced a build-time
> > regression where userland CFLAGS are being leaked. This is especially obvious
> > when a user tries to "make zImage" with an SSP enabled gcc.
> 
> What build error do you get?

As requested :)

$ gcc -v
Reading specs from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/specs
Configured with: /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/configure
--prefix=/usr --bindir=/usr/powerpc-unknown-linux-gnu/gcc-bin/3.4.4
--includedir=/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/include
--datadir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4.4
--mandir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4.4/man
--infodir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4.4/info
--with-gxx-include-dir=/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/include/g++-v3
--host=powerpc-unknown-linux-gnu --build=powerpc-unknown-linux-gnu
--enable-altivec --disable-nls --with-system-zlib --disable-checking
--disable-werror --disable-libunwind-exceptions --disable-multilib
--disable-libgcj --enable-languages=c,c++ --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.4 (Gentoo Hardened 3.4.4-r1, HTB-3.4.4-1.00,
ssp-3.4.4-1.0, pie-8.7.8)

  BOOTLD  arch/powerpc/boot/zImage.vmode
  arch/powerpc/boot/prom.o(.text+0x19c): In function `call_prom':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/prom.o(.text+0x3a8): In function `call_prom_ret':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/prom.o(.text+0x448): In function `write':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/prom.o(.text+0x4d8): In function `string_match':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/prom.o(.text+0x5ac): In function `claim':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/prom.o(.got2+0x4): undefined reference to `__guard'
  arch/powerpc/boot/stdio.o(.text+0x84): In function `strnlen':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/stdio.o(.text+0x130): In function `skip_atoi':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/stdio.o(.text+0x374): In function `number':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/stdio.o(.text+0x5b0): In function `vsprintf':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/stdio.o(.text+0xba8): In function `sprintf':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/stdio.o(.text+0xca4): more undefined references to
  `__stack_smash_handler' follow
  arch/powerpc/boot/stdio.o(.got2+0x0): undefined reference to `__guard'
  arch/powerpc/boot/main.o(.text+0x198): In function `gunzip':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/main.o(.text+0x318): In function `try_claim':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/main.o(.text+0x5b0): In function `start':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/main.o(.got2+0x20): undefined reference to `__guard'
  arch/powerpc/boot/infblock.o(.text+0xac): In function
  `zlib_inflate_blocks_reset':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/infblock.o(.text+0x180): In function
  `zlib_inflate_blocks_new':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/infblock.o(.text+0x428): In function
  `zlib_inflate_blocks':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/infblock.o(.text+0xd00): In function
  `zlib_inflate_blocks_free':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/infblock.o(.got2+0x0): undefined reference to
  `__guard'
  arch/powerpc/boot/infcodes.o(.text+0x68): In function
  `zlib_inflate_codes_new':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/infcodes.o(.text+0x18c): In function
  `zlib_inflate_codes':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/infcodes.o(.text+0x8ec): In function
  `zlib_inflate_codes_free':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/infcodes.o(.got2+0x0): undefined reference to
  `__guard'
  arch/powerpc/boot/inffast.o(.text+0x1a4): In function
  `zlib_inflate_fast':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/inffast.o(.got2+0xc): undefined reference to
  `__guard'
  arch/powerpc/boot/inflate.o(.text+0x1b8): In function `zlib_adler32':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/inflate.o(.text+0x21c): In function
  `zlib_inflate_workspacesize':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/inflate.o(.text+0x2e0): In function
  `zlib_inflateReset':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/inflate.o(.text+0x38c): In function
  `zlib_inflateEnd':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/inflate.o(.text+0x438): In function
  `zlib_inflateInit2_':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/inflate.o(.text+0x570): more undefined references to
  `__stack_smash_handler' follow
  arch/powerpc/boot/inflate.o(.got2+0x0): undefined reference to
  `__guard'
  arch/powerpc/boot/inftrees.o(.text+0x248): In function `huft_build':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/inftrees.o(.text+0x63c): In function
  `zlib_inflate_trees_bits':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/inftrees.o(.text+0x784): In function
  `zlib_inflate_trees_dynamic':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/inftrees.o(.text+0xa68): In function
  `zlib_inflate_trees_fixed':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/inftrees.o(.got2+0x0): undefined reference to
  `__guard'
  arch/powerpc/boot/infutil.o(.text+0x114): In function
  `zlib_inflate_flush':
  : undefined reference to `__stack_smash_handler'
  arch/powerpc/boot/infutil.o(.got2+0x0): undefined reference to
  `__guard'
  make[2]: *** [arch/powerpc/boot/zImage.vmode] Error 1
  make[1]: *** [zImage] Error 2
  make: *** [zImage] Error 2
  

-- 
Role:            Gentoo Linux Kernel Lead
Gentoo Linux:    http://www.gentoo.org
Public Key:      gpg --recv-keys 9C745515
Key fingerprint: A0AF F3C8 D699 A05A EC5C  24F7 95AA 241D 9C74 5515


[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

  reply	other threads:[~2006-04-02 10:23 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-01 22:48 John Mylchreest
2006-04-02  8:58 ` Olaf Hering
2006-04-02 10:22   ` John Mylchreest [this message]
2006-04-02 10:28     ` Olaf Hering
2006-04-02 10:58       ` John Mylchreest
2006-04-02 11:10         ` Olaf Hering
2006-04-02 11:20           ` John Mylchreest
2006-04-02 11:42             ` Olaf Hering
2006-04-04  8:57               ` John Mylchreest
2006-04-04  9:41                 ` Olaf Hering
2006-04-04 10:01                   ` John Mylchreest
2006-04-04 10:58                     ` Olaf Hering
2006-04-10  9:01                       ` John Mylchreest
2006-04-02 13:15             ` Arjan van de Ven
2006-04-02 13:56               ` John Mylchreest
2006-04-02 14:01                 ` Olaf Hering
2006-04-02 14:35                   ` John Mylchreest
2006-04-02 14:49                 ` Arjan van de Ven
2006-04-02 15:22                   ` John Mylchreest

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=20060402102259.GM16917@getafix.willow.local \
    --to=johnm@gentoo.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olh@suse.de \
    --cc=paulus@samba.org \
    --cc=stable@kernel.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

Powered by JetHome