[#4248] iptables cannot be build as FLAT

Document created by Aaronwu Employee on Aug 29, 2013
Version 1Show Document
  • View in full screen mode

[#4248] iptables cannot be build as FLAT

Submitted By: Michael McTernan

Open Date

2008-07-16 08:33:06     Close Date

2008-07-18 04:05:10

Priority:

Medium     Assignee:

Mike Frysinger

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2008R1-RC8     Release:

2008R1-rc8

Category:

uClinux-dist applications     Board:

Custom

Processor:

N/A     Silicon Revision:

.5

Is this bug repeatable?:

Yes     Resolution:

Out of Date

Uboot version or rev.:

    Toolchain version or rev.:

2008R1-rc8

App binary format:

N/A     

Summary: iptables cannot be build as FLAT

Details:

 

Hi,

 

When building the user applications, LDFLAGS contains -Wl,-elf2flt if targetting flat binaries.  However, the makefile for iptables overrides LDFLAGS and so produces always produces an ELF:

 

iptables-1.4.0\Makefile:

...

LDFLAGS      = -rdynamic

...

else

...

LDFLAGS      = -static

 

 

Attached is a small patch to convert the LDFLAGS assignments to += such that the parent config is inherited.

 

Regards,

 

Mike

 

Follow-ups

 

--- Mike Frysinger                                           2008-07-16 21:23:05

this should already be fixed in svn ... thanks for the patch though

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

ldflag-propagate.patch    application/octet-stream    588    Michael McTernan

Attachments

Outcomes