Summary: | net-misc/mknbi doesn't compile with gcc-4.1.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Erik Logtenberg <erik> |
Component: | [OLD] GCC Porting | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | lucidcomms, rhill, treecleaner |
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 117482 | ||
Attachments: |
Updated ebuild for mknbi 1.4.4
GCC4 Fixes patch for updated ebuild as supplied |
Description
Erik Logtenberg
2006-09-18 10:26:00 UTC
The same here, gcc-4.1.1, mknbi-1.4.4 (~x86) or mknbi-1.4.3 cc1: error: unrecognized command line option "-fno-stack-protector-all" Updated mknbi ebuild with GCC4 fix submitted: http://bugs.gentoo.org/show_bug.cgi?id=154267 *** Bug 154267 has been marked as a duplicate of this bug. *** Created attachment 101364 [details]
Updated ebuild for mknbi 1.4.4
Resubmitting from duplicate on request, all apologies.
Updated ebuild, fixes gcc4 compile errors.
1) replace -mcpu with -march (fix build -mcpu is depreciated warning)
2) only apply nossp-patch if gcc-version = 3.4 (not required if in >=gcc4)
3) apply gcc4-fixes patch to solve static declaration errors, resolves"
cc1: error: unrecognized command line option "-fno-stack-protector-all"
The current 1.4.4 is marked ~x86, given that 1.4.3 & 1.4.4 are both broken on current gentoo profiles including the gcc4 compiler, this should probably be marked x86 stable asap.
Created attachment 101365 [details, diff]
GCC4 Fixes patch for updated ebuild as supplied
Trival fixes for some errant declerations
Thanks, fixed in CVS. |